AOCC compiler (C/C++/Fortran)
Latest release: 5.2, May 2026
https://www.amd.com/en/developer/aocc.html
| Action | Command |
|---|---|
| Architecture | |
| Generate instructions that run on AMD 5th Gen EPYC™ and AMD 5th Gen Ryzen™ |
|
| Generate instructions supported in the given machine |
|
| Optimization Levels | |
| Disable all optimizations |
|
| Enable minimal level optimizations |
|
| Enable moderate level optimizations (Default from AOCC 4.1) |
|
| Enable all optimizations that attempt to make programs run faster |
|
| Enable O3 with other aggressive optimizations that may violate strict compliance and precisions |
|
| Enable link time optimization |
|
| Enable advanced optimizations - improved variants of various scalar, vector, and loop transformations |
|
| Enable advanced vector transformations |
|
| Enable loop transformations |
|
| Enable advanced loop transformations |
|
| Enable memory layout optimizations |
|
| Enable function level optimizations |
|
| Profile guided optimizations |
(1st invocation)
(2nd invocation) |
| Enable use of OpenMP® directives |
|
| Enable streaming stores to optimize memory bandwidth usage |
|
| Other Options | |
| Enable faster, less precise math operations (part of Ofast) |
|
| OpenMP® threads and affinity (N number of cores) |
|
| Link to AMD library |
|
| Enable vector library |
|
| Enable faster library |
|
| For Fortran Workloads | |
| Compile Fortran free form layout |
|
AMD uProf (Performance & Power Profiler)
Latest release: 5.3, May 2026
GNU Compiler Collection
Recommended version: GCC 14.1 or later
Latest release: GCC 16.1, April 2026
glibC
Latest release: 2.43, January 2026
Recommendation: 2.38 or later
Binutils
Latest release: 2.46.0, February 2026
Recommendation: 2.42 or later
| Action | Command |
|---|---|
| Architecture | |
| Generate instructions that run on AMD 5th Gen EPYC™ and AMD 5th Gen Ryzen™ |
|
| Generate instructions supported in the given machine |
|
| Optimization Levels | |
| Disable all optimizations (default) |
|
| Enable minimal level optimizations |
|
| Enable moderate level optimizations |
|
| Enable all optimizations that attempt to make programs run faster |
|
| Enable O3 with other aggressive optimizations that may violate strict compliance and precisions |
|
| Additional Optimizations | |
| Enable link time optimizations |
|
| Enable unrolling |
|
| Generate memory preload instructions |
|
| Enable profile-guided optimizations |
(1st invocation)
(2nd invocation) |
| Enable use of OpenMP® directives |
|
| Other Options | |
| Enable compiler to use IEEE FP comparisons |
|
| Enable faster, less precise math operations |
|
| Compile Fortran free form layout |
|
| OpenMP® threads and affinity (N number of cores) |
|
| Link to AMD library |
|
Microsoft® Visual Studio 2026
https://visualstudio.microsoft.com/downloads/
| Action | Command |
|---|---|
| Architecture | |
| Generate instructions that run on AMD 5th Gen EPYC™ and AMD 5th Gen Ryzen™ |
|
| Optimize for 64-bit AMD processors |
|
| Optimization Levels | |
| Disable optimizations |
|
| Maximum optimizations (favor space) |
includes
|
| Maximum optimizations (favor speed) |
includes
|
| Enable inline expansion |
(0/1/2/3) |
| [link.exe] Eliminate unreferenced function and/or data |
|
| [link.exe] Perform identical COMDAT folding |
|
| Output an informational message for loops that are auto-vectorized |
|
| Enable automatic parallelization of loops, used with #pragma loop() directive |
|
| Output an informational message for loops that are auto-parallelized |
|
| Additional Optimizations | |
| Maintain the precision for floating-point operations through proper rounding |
|
| Optimize floating-point code for speed at the expense of floating point accuracy and correctness |
|
| Whole Program Optimization (link-time code generation) |
|
| Enable Profile-guided optimizations |
(1st invocation)
(2nd invocation) |
| Enable OpenMP® Support |
|
Intel® oneAPI DPC++/C++ Compiler
Latest release: 2025.3.3, March 2026
| Action | Command |
|---|---|
| Architecture | |
| Generate instructions that run on AMD 5th Gen EPYC™ and AMD 5th Gen Ryzen™ |
|
| Optimization Levels | |
| Disable all optimizations |
|
| Speed optimization without code growth |
|
| Enable optimization for speed including vectorization |
|
| Enable O2 and aggressive loop transformations |
|
| Enable set of aggressive options to improve speed |
|
| Additional Optimizations | |
| Set function inline level |
|
| Set maximum number of times to unroll loops |
|
| Disable improved precision floating divides |
|
| Enable vectorization |
|
| Enable inter procedural optimizations (alias for -flto) |
|
| Enable whole program link time optimization (LTO) |
|
| Enable use of OpenMP® directives |
|
| Enable profile generated optimization |
and
|
| Other Options | |
| Enable floating point accuracy tunings |
|
| Compile Fortran free form layout |
|