The Performance Impact To AMD Zen 2 Compiler Tuning On GCC 9 + Znver2
Written by Michael Larabel in Software on 11 July 2019. Page 4 of 4. 36 Comments

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.

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

Znver2 did help in some of the Bullet physics library 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 result file.

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.

About The Author
Author picture

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 10,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 or contacted via

Related Articles
Trending Linux News