GCC Patch Adjusting AMD Zen 5 Misprediction Cost Nets 12% Win In Benchmark
([AMD] 23 August 06:56 AM EDT
AMD Zen 4 / Zen 5 Tuning)
An AMD compiler engineer posted a patch on Saturday for the GNU Compiler Collection (GCC). The two-line patch adjusts the misprediction cost for Zen 4 and Zen 5 processors, which ends up yielding a 12% improvement in one SPEC CPU benchmark on Zen 5 and a 9% improvement on Zen 4.