The Performance Impact To AMD Zen 2 Compiler Tuning On GCC 9 + Znver2

Written by Michael Larabel in Software on 11 July 2019 at 10:28 AM EDT. Page 4 of 4. 36 Comments.
Znver2 GCC9 Compiler Tests

I have asked AMD when they will be supplying any other Znver2 compiler patches or if they will be relying upon the likes of SUSE developers, but haven't heard any firm answer as of yet.

Znver2 GCC9 Compiler Tests

Of course, with the greater amount of compiler optimizations, compile times may tick up slightly.

Znver2 GCC9 Compiler Tests
Znver2 GCC9 Compiler Tests
Znver2 GCC9 Compiler Tests
Znver2 GCC9 Compiler Tests
Znver2 GCC9 Compiler Tests

Znver2 did help in some of the Bullet physics library tests.

Znver2 GCC9 Compiler Tests

Those wanting to dig through more benchmark results from this Zen 2 compiler tuning comparison with GCC 9 can find all my data via this OpenBenchmarking.org result file.

Znver2 GCC9 Compiler Tests

If looking at the geometric mean for all the tests carried out on the three tested -march levels, using Znver2 yielded a 1% improvement overall compared to Znver1 or 3% compared to the generic x86-64 targeting. More LLVM Clang and AOCC tests to come in due course.

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.