GCC 12 Compiler Optimization Tuning With The AMD Ryzen Threadripper 3990X

Written by Michael Larabel in Software on 19 July 2022. Page 2 of 5. 16 Comments

First up were some runs with the yquake2 open-source Quake 2 derived game using its CPU-based renderer. There wasn't too much sway in the frame-rates from -O1 to -O3 but with -Ofast or making use of "-march=native" did squeeze out a few extra FPS. Making use of link-time optimizations (LTO) with -flto did help achieve peak performance.

Under the crypto++ cryptography benchmark there wasn't much sway after -O2 on this AMD Ryzen Threadripper workstation.

Meanwhile with the MrBayes molecular biology software package is one of the workloads that does benefit significantly from the "-Ofast" optimization level albeit with potentially unsafe math.

Related Articles