alt.hn

5/20/2025 at 1:36:28 AM

Improving Assembly Code Performance with LLMss via Reinforcement Learning

https://arxiv.org/abs/2505.11480

by badmonster

5/20/2025 at 1:40:35 AM

reinforcement learning can push LLMs beyond generation and into true performance optimization at the assembly level. achieving a 1.47x speedup over gcc -O3 is no small feat—especially considering -O3 is already highly optimized.

by badmonster

5/20/2025 at 5:34:29 AM

O3 is highly optimized using generic techniques that worked in a variety of scenarios and could get papers published. Given that carefully laid out assembly can outperform by like 10x across size and speed, I think there’s a lot of headroom to play with.

by vlovich123