Reinforcement learning enables LLMs to generate high-performance computing (HPC) code that is specifically optimized for hardware, utilizing real-machine benchmark performance (GFLOPS) as a direct reward signal. This method allows LLMs to discover and apply continuous, hardware-aware optimizations that are difficult to achieve with traditional compiler techniques.