AMD Optimizing C/C++ Compiler AOCC 4.0: Makes Zen 4 Ryzen and EPYC CPUs Faster

According to Phoronix reports, AMD has optimized the C/C++ compiler AOCC 4.0, which has improved the performance of the Zen 4 architecture Ryzen processor and EPYC server processor.
Phoronix’s Michael Larabel said the most notable aspect of the optimized AOCC 4.0 is that it brings support and optimizations for Zen 4 “znver4” and longer-term support for the new architecture. However, AOCC 4.0 is not open source, it is a derivative of the LLVM/Clang compiler library, which is generally believed to be unique to AMD Zen 4.

Michael Rabel used an AMD Ryzen R9-7950X to compare the two compiler libraries (AOCC4.0 and LLVM/Clang) to determine the differences between the two libraries, the motherboard used for the test was an ASUS ROG Crosshair X670E with 32GB of RAM, and the environment used for the test was Ubuntu 22.10. Michael Rabel has tested and found that the processor performance under AOCC 4.0 has a certain limit improvement in most projects. AOCC 4.0 looks like a good start to help maximize the performance of Zen 4 processors in terms of compilers.