The Impact Of GCC Zen Compiler Tuning On AMD Ryzen Performance

Written by Michael Larabel in Software on 3 March 2017 at 09:52 AM EST. Page 5 of 5. 50 Comments.
GCC AMD Ryzen Zen znver1 Compiler Optimizations

The libjpeg-turbo performance was barely impacted by the compiler optimizations.

GCC AMD Ryzen Zen znver1 Compiler Optimizations

The HINT performance also didn't budge with the compiler tuning.

GCC AMD Ryzen Zen znver1 Compiler Optimizations
GCC AMD Ryzen Zen znver1 Compiler Optimizations

For those curious how enabling znver1's impact on build time, here are those benchmarks.

It will be interesting to run these tests with GCC 7 and LLVM Clang 4 to see if the Zen tuning is any better with those compilers. While Zen compiler tuning has been happening in the public since 2015, it seems there is still more compiler work needed, especially as from our compiler benchmarks with Intel their processors seem to benefit much greater from compiler tuning. Stay tuned!

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.