The GCC 8.2 Ampere compilers have the latest features and more performance. The GCC 7.3 Ampere compilers have proven stability. These compilers target Ampere’s eMAG processors. They default to -mcpu=emag and are tuned for the eMAG microarchitecture. If you’re looking for performance, try the O3 and LTO options.