AMD Zen 3 Performance With The Initial "znver3" GCC Compiler Support

Written by Michael Larabel in Software on 9 December 2020 at 10:00 AM EST. Page 4 of 4. 25 Comments.
GCC Znver3 First Cut Benchmarks
GCC Znver3 First Cut Benchmarks
GCC Znver3 First Cut Benchmarks
GCC Znver3 First Cut Benchmarks

For the Znver3 support at this point in GCC 11, don't expect any breakthrough changes. Normally the compiler tuning can yield up to a few percent difference in some workloads, but that is relying upon a properly tuned scheduling model and accurate cost tables for the various instructions catered to that microarchitecture family.

GCC Znver3 First Cut Benchmarks

Across many different open-source C/C++ workloads tested, there was less than a 1% difference in Znver2 to Znver3 with the current GCC 11 code. It will be interesting to revisit when the more complete Znver3 compiler support is available but that might not land for a few months still. Some new LLVM Clang Znver3 patches were just dropped which are currently undergoing tests at Phoronix. There is also AMD's Optimizing C/C++ (AOCC) compiler that is a downstream of LLVM Clang that will be interesting to see how it performs for Zen 3 over the next release or two. At least moving off the generic x86-64 target yields around 11% uplift across all the benchmarks.

See more data over on OpenBenchmarking.org.

If you enjoyed this article consider joining Phoronix Premium to view this site ad-free, multi-page articles on a single page, and other benefits. PayPal or Stripe tips are also graciously accepted. Thanks for your support.


Related Articles
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com 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 OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.