Overview
The AOCC compiler is designed for high-performance x86 CPU compilation of C, C++, and Fortran programming languages. It offers target-dependent and target-independent optimizations, with a particular focus on AMD "Zen" processors. These optimizations provide performance advantage for time-critical applications, especially in the field of high-performance computing (HPC). The AOCC compiler environment streamlines and speeds up the development and tuning process for x86 applications written in C, C++, and Fortran.
AOCC Features
- Platform and Foundation
Built for 32-bit and 64-bit Linux® platforms, leveraging the robust LLVM™ infrastructure (based on LLVM 17.0.6, Nov 2023) with Clang as the default front-end for C/C++ and Flang for Fortran. - Architecture Optimization
Tuned for AMD processors across all “Zen” generations (Zen, Zen2, Zen3, Zen4, Zen5). - Language Standards and Compliance
Supports C17 (default for C), C++17 (default for C++), and Fortran F2008 with Real128 features (coarrays not supported);
OpenMP 5.0 for C/C++ and OpenMP 4.5 for Fortran; DWARFv4 debugging by default with DWARFv5 available for C, C++, and Fortran. - Advanced Features and Optimizations
Includes inter/intraprocedural analysis, SLP and loop vectorization, loop optimizations, OpenMP Debugging Interface (OMPD), and CPU offload support for Fortran OpenMP. - Additional Enhancements
Optimization level -O2 and -fPIC/-fPIE options are default since 4.1; supports Spack for flexible package management and AMD optimized application recipes.
Notes
- AOCC compiler binaries depend on Linux® systems having Glibc version 2.28 or later.
- Since AOCC 4.1, the -fPIC and -fPIE options are enabled by default, which means location-independent code is generated automatically. For AOCC 4.1 or later, any static libraries that were previously built without -fPIC must be rebuilt using these default options; otherwise, linker errors may occur during static linking. Alternatively, you can disable position-independent code generation by specifying -fno-PIC or -fno-PIE when compiling with AOCC.
What’s new in AOCC 5.1 (December 05, 2025)
- Based on LLVM 17.0.6 release (llvm.org, Nov 2023)
- Zen5 tuned AOCL-LibM 5.2 (AMD Math Library)
- Bug fixes impacting performance of C, C++, and Fortran applications
- Deprecated the -finline-aggressive option. Use the -inline-threshold option instead
- Deprecated the -freroll-loops option
Download with End User License Agreement
| File Name | Version | Release | OS | Bitness | Description | Checksum sha256sum | Size |
| aocc-compiler-5.1.0.tar | 5.1 | 1/2/2026 | Ubuntu®, RHEL®, SLES®, CentOS®, Debian® | 32 and 64-bit | This tar file can be untarred and used on the listed distributions. SUSE Linux Enterprise Server does not support compilation of 32-bit applications. It only offers runtime support for 32-bit binaries. For more information, refer to the SUSE documentation |
3ccb56e399c66e10d437feb24b73552bc560210f7606d2609c06a7ef35d22c69 | 148MB |
| aocc-compiler-5.1.0_1_amd64.deb | 5.1 | 1/2/2026 | Ubuntu®, Debian® | 32 and 64-bit | This .deb file is for Debian based distributions. |
42f9ed0713a8fe269d5a5b40b1992a5380ff59b4441e58d38eb9f27df5bfe6df | 141MB |
| aocc-compiler-5.1.0-1.x86_64.rpm | 5.1 | 1/2/2026 | RHEL® | 32 and 64-bit | This .rpm file is for RedHat distribution. |
7c8ab2b89fbaed511323cd3e373e0f3fd35b2e61b0292dde2e7e4b5a491fd1ed | 142MB |
| aocc-compiler-5.1.0.sles15-1.x86_64.rpm | 5.1 | 1/2/2026 | SLES® | 64-bit | This .rpm file is for SUSE Linux Enterprise Server distribution. SUSE Linux Enterprise Server does not support compilation of 32-bit applications. It only offers runtime support for 32-bit binaries. For more information, refer to the SUSE documentation. |
e107d77f4ea59432c0a09e7a6a23299cfb40bee2cb52495296f89a30b6afea19 | 141MB |
| File Name | Checksum sha256sum |
| README | 6607e50a6ff246addcdda63ec93642268ac917ddbd36b038463cb96527a9d16d |
Resources and Technical Support
Documentation and Downloads
- AOCC User Guide
- AOCC Quick Reference Guide
- AOCC Release Notes
- Prior versions: AOCC Archive
Support
For support options, refer to Technical Support.
AMD Community
For moderated forums, refer to the AMD community.