Initial AMD Zen 3 Support Successfully Lands In GCC 11

Written by Michael Larabel in AMD on 5 December 2020 at 07:53 AM EST. 9 Comments
A few days ago AMD finally sent out the initial AMD Zen 3 "znver3" support to the GCC compiler with the LLVM Clang support to follow. That initial "-march=znver3" targeting support has now been merged for GCC 11.

While past the feature development stage of GCC 11, the znver3 patch was permitted to land with new targets / hardware support allowed to land still as it doesn't risk regressing the existing compiler support.

As outlined in the prior article though, this patch just flips on the new CPU instructions supported by Zen 3 compared to Zen 2. But there isn't yet any updated costs table / scheduler model to really optimize the generated for Zen 3 processors. AMD is still working through that portion of the enablement but looks like that might not be ready for either several weeks or months. That "optimized" support might not even be available in time for the GCC 11.1 stable release next March~April while at least the basic "-march=znver3" is ready and out.

The merge happened this morning so the daily builds and development snapshots to follow have this support.

I have already been running some benchmarks on the AMD Zen 3 GCC patch and should have out those initial benchmarks in the coming days.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via

Popular News This Week