AMD AOCC 3.1 Compiler Performance On EPYC 7003 / Zen 3
Written by Michael Larabel in Software on 27 July 2021. Page 2 of 2. 1 Comment

Overall, AOCC 3.1 was a smooth upgrade and largely unventful.

Out of 78 tests ran on AOCC 3.0 and 3.1, AOCC 3.1 came in first place 64% of the time... The tests where AOCC 3.0 was ahead, it was generally by a slight and no statistically significant difference.

When taking the geometric mean of all 78 tests, the AOCC 3.1 release came out to being about 2% faster overall. About inline with expectations given AOCC 3.1 is still based on upstream LLVM 12 and no reports from AMD of any major optimizations or other key upgrades.

But in some select benchmarks there were indeed nice gains to report out of AOCC 3.1. Intel's oneDNN neural network library enjoyed some improvements as did other real-world software, but for most of those measurable wins was by just a few percent or less. In the remainder of the tests not shown in the side-by-side above, there was no statistically significant difference between releases.

Those interested in looking at all of the raw AOCC 3.0 vs. 3.1 compiler benchmarks in full can find the data points via this result file.

For those wondering about AOCC 3.1 in turn affecting compiler build times, the new minor release had a minimal impact across those benchmarks, which can be seen via this result file.

From the testing over the past week with the AMD EPYC 7543 server, AOCC 3.1 is a pleasant minor update with mostly minor enhancements but a few wins as shown above -- at least no regressions or other headaches -- for those wanting to use this binary downstream of LLVM maintained by AMD. While this article was just looking at the incremental performance of AOCC, benchmarks comparing to upstream LLVM Clang and GCC are forthcoming on Phoronix.

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 tips are also graciously accepted. Thanks for your support.

Related Articles
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 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 automated benchmarking software. He can be followed via Twitter or contacted via

Trending Linux News