AMD Disables Zen 4 Loop Buffer Without Impacting Performance

AMD has deactivated the Loop Buffer in Zen 4 CPUs via a BIOS update, but performance remains unaffected thanks to the Op Cache.

AMD has disabled the Loop Buffer functionality in its Zen 4 CPUs through a recent BIOS update (AGESA 1.2.0.2a). However, this change hasn't resulted in any performance degradation, as the existing Op Cache is sufficient for managing loops effectively.

AMD Disables Zen 4 Loop Buffer Without Impacting Performance

The Loop Buffer, a feature exclusive to Zen 4, was designed to bypass the front-end pipeline for optimized performance. However, due to a lack of optimization and documentation, it didn't provide significant benefits. The Op Cache, a micro-op cache present in Zen architectures, already had enough bandwidth to handle the instructions intended for the Loop Buffer.

Discovery and Impact

The deactivation was first noticed by Chips and Cheese during testing of the Ryzen 9 7950X3D on an ASRock B650 PG Lightning motherboard. They observed that the Loop Buffer was active with the older BIOS 1.21 (AGESA 1.0.0.6) but inactive with BIOS 3.10 (AGESA 1.2.0.2a).

AMD Disables Zen 4 Loop Buffer Without Impacting Performance

Loop Buffer vs. Op Cache

The Loop Buffer was intended to store instructions for loops (repeated sequences of code), reducing the need to fetch them from the cache or memory. However, the Op Cache already performs this function efficiently. This redundancy made the Loop Buffer's contribution negligible. AMD has omitted the Loop Buffer from its newer Zen 5 architecture.

AMD Disables Zen 4 Loop Buffer Without Impacting Performance

Unlike Intel and Arm, which have successfully implemented similar features, AMD's Loop Buffer implementation wasn't optimized. The existing Op Cache mechanism continues to provide efficient instruction handling for Zen CPUs.

About the author

mgtid
Owner of Technetbook | 10+ Years of Expertise in Technology | Seasoned Writer, Designer, and Programmer | Specialist in In-Depth Tech Reviews and Industry Insights | Passionate about Driving Innovation and Educating the Tech Community Technetbook

Post a Comment

Join the conversation