The Performance Impact To AMD Zen 2 Compiler Tuning On GCC 9 + Znver2
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 OpenBenchmarking.org 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.
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.