AMD AOCC 1.2 Code Compiler Offers Some Performance Benefits For EPYC

Written by Michael Larabel in Software on 20 May 2018 at 10:00 AM EDT. Page 4 of 4. 5 Comments.
GCC 8.1 vs. LLVM Clang 6.0 vs. AMD AOCC Compiler Benchmarking

On this EPYC system, the LLVM-based compilers were the fastest with the FLAC audio encoding test.

GCC 8.1 vs. LLVM Clang 6.0 vs. AMD AOCC Compiler Benchmarking

But when it comes to LAME MP3 encoding, GCC remained slightly ahead.

GCC 8.1 vs. LLVM Clang 6.0 vs. AMD AOCC Compiler Benchmarking
GCC 8.1 vs. LLVM Clang 6.0 vs. AMD AOCC Compiler Benchmarking
GCC 8.1 vs. LLVM Clang 6.0 vs. AMD AOCC Compiler Benchmarking
GCC 8.1 vs. LLVM Clang 6.0 vs. AMD AOCC Compiler Benchmarking
GCC 8.1 vs. LLVM Clang 6.0 vs. AMD AOCC Compiler Benchmarking

AOCC 1.2 did have some narrow first place finishes with the Redis NoSQL server.

GCC 8.1 vs. LLVM Clang 6.0 vs. AMD AOCC Compiler Benchmarking

While for the NGINX web server test, all four tested compilers yielded roughly the same performance.

When AOCC 1.0 was released last year shortly after the Ryzen/EPYC processor launch, there wasn't much to it and we had a hard time finding performance changes compared to the upstream LLVM/Clang state at the time. Fortunately, AOCC 1.1 and 1.2 have managed to pull in some more optimizations to better differentiate it as an LLVM/Clang downstream. AOCC 1.2 in several different benchmarks were leading over Clang 6.0 by up to a few percent. Another benefit now with AOCC 1.2 is that it makes FLANG easily available as the LLVM-based Fortran compiler. I'll be trying out FLANG on EPYC in a follow-up article. It's great that AMD continues investing in Linux compiler optimizations and hopefully more of these AOCC tuning/optimization changes will wind up in upstream LLVM in the not too distant future.

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.