Jump to content

AMD Optimizing C/C++ Compiler

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Artoria2e5 (talk | contribs) at 10:07, 3 September 2020. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Developer(s)AMD
Initial release2017; 8 years ago (2017)
Stable release
2.2 / June 30, 2020; 4 years ago (2020-06-30)
Operating systemCross-platform, Linux
TypeCompiler
LicenseFreeware
Websitedeveloper.amd.com/amd-aocc/

The AMD Optimizing C/C++ Compiler (AOCC) is an optimizing compiler from AMD targeting 32-bit and 64-bit Linux platforms.[1][2] It is a proprietary fork of LLVM + Clang with various additional patches to improve performance for AMD's Ryzen microprocessors. AOCC 1.0 also included a version of DragonEgg gcc plugin for Fortran sources.[1][3]

AOCC version history[4]
AOCC version Date LLVM version Notes
1.0.0 April 2017 6.0 DragonEgg intended to work with GCC 4.8.2[1]
1.3.0 December 2018 7.0 Last version to use DragonEgg.
2.0.0 August 2019 8.0 Flang is used instead for Fortran.[5]
2.1.0 November 2019 9.0 [6]
2.2.0 June 2020 10.0

In a May 2017 benchmark comparing AOCC v1.0 to Clang 4 and 5, and GCC 6 through 8, Phoronix found AOCC provided significant but modest improvement over Clang 4.0 in several benchmarks and no difference in others.[3] Compilation time generally increased relative to Clang 4.0. Some benchmarks found some versions of GCC had better performance than some versions of Clang (AOCC included), and vice versa. In August 2019 Phoronix again benchmarked AOCC, now AOCC 2.0 against Clang 9 and GCC 9.1 and 10.0.[7]

See also

References

  1. ^ a b c "AOCC User guide" (PDF). AMD.
  2. ^ "AMD Releases Optimizing C/C++ Compiler For Ryzen - Phoronix". www.phoronix.com.
  3. ^ a b "Benchmarking AMD's New AOCC Compiler For Ryzen - Phoronix". www.phoronix.com.
  4. ^ "AOCC Archive Section". AMD.
  5. ^ "AOCC 2.0 Install Guide" (PDF). developer.amd.com. Retrieved 2020-02-19.
  6. ^ "AOCC 2.1 Install Guide" (PDF). developer.amd.com. Retrieved 2020-02-19.
  7. ^ "GCC vs. LLVM Clang vs. AOCC Compiler Benchmarks On The AMD EPYC 7742 2P Linux Server - Phoronix". www.phoronix.com. Retrieved 2020-02-19.