MICROSOFT XBOX Microsoft Xbox mandates four-day office rule for Redmond staff starting Feb 1 GAMES Riot Games Reveals K/DA Riftbound TCG ‘Couture Collection’ With Exclusive Fortiche Art GAMES Stellaris Willpower DLC Release Date Set for November 2026 GAMES Assassin’s Creed Shadows tabletop game appears on Gamefound with 20 scenarios GAMES EA lays off many staff at Skate studio Full Circle as part of wider restructuring NINTENDO Double Eleven Job Listings Hint at GTA 6 Port to Nintendo Switch 2 AMD AMD fixes severe frame pacing jitter in FSR Frame Generation for Radeon RX 9000 Series GAMES Diablo: Unbound tabletop dungeon battler announced for 2027 GAMES Denuvo wins court order to identify hacker voices38, who deletes Reddit account and reappears as v0ices38 GAMES Escape from Tarkov Scourge Invasion event ends October 26 with new limited achievement STEAM Bloody Hell Hotel delayed to 2027 to ensure complete 1.0 release DLSS Cyberpunk 2077 version 2.5 adds Dual Wielding playstyle and cross-platform mod support GAMES Gray Zone Warfare Rogue Ops Update Shifts Community Sentiment from Wary to Excited STEAM DayZ Patch 1 for Badlands Expansion Fixes Server Crashes and AI Navigation Glitches

AMD Zen 4 and Zen 5 Get 12% Boost From New GCC Compiler Patch

Owen Carter 2 min read

AMD Zen 5 and Zen 4 CPUs gain up to 12% performance from a new GCC compiler patch optimizing branch prediction, arriving in GCC 17.

AMD Zen 4 and Zen 5 processor architecture diagram
PC HARDWARE

A small update to the GCC compiler is delivering noticeable performance gains for processors. Users running Zen 4 and Zen 5 CPUs can expect faster execution times in demanding workloads. This improvement comes from a precise adjustment to how the compiler handles branch prediction. The change is significant because it extracts more value from existing hardware without requiring new silicon.

AMD Zen 4 and Zen 5 processor architecture diagram
AMD Zen 4 and Zen 5 processor architecture diagram

Two-line patch improves branch prediction for Zen 5 and Zen 4 CPUs

The core of this update is a two-line patch that modifies the branch misprediction scale in the compiler. AMD published this specific change to help the GCC compiler better understand the microarchitecture of its Zen cores. The adjustment targets the cost tables used by the branch predictor to optimize code generation. This technical tweak allows the compiler to make more accurate predictions about code flow.

Performance testing using SPEC CPU benchmarks confirms the impact of this compiler change. Zen 5 CPUs see an average performance uplift of 12 percent with this update. Zen 4 processors benefit as well, showing a 9 percent improvement in the same tests. These numbers represent a direct result of the optimized branch prediction logic. The gains are consistent across the benchmark suite used for evaluation.

This patch is scheduled to debut in GCC 17 next year as part of the standard release. Phoronix suggests the update might also be back-ported to the GCC 16.3 release later this year. That earlier availability remains unconfirmed and depends on the compiler maintainers' decisions. Similar branch prediction adjustments in 2024 previously yielded around 10 percent gains in gaming and productivity tasks. We looked at those earlier compiler updates while tracking AMD performance trends.

The confirmed facts center on the two-line patch and its measured impact on Zen architecture performance. Users will see these benefits once they adopt the updated GCC compiler version. The 12 percent gain for Zen 5 and 9 percent for Zen 4 are the current verified metrics. This software optimization provides a tangible speed boost for existing AMD hardware users.

Source: TweakTown

AMD