SPEC2017 INTrate: LTO -Ofast native - LLVM, AOCC and GCC
-Ofast -march=native -flto
AMD EPYC 8635P (zen5 based Sorano)
Run-times
Benchmark
LLVM
AOCC
GCC
AOCC
GCC
500.perlbench_r
100.00%
97.25%
95.97%
100.00%
98.69%
502.gcc_r
100.00%
100.86%
99.14%
100.00%
98.30%
505.mcf_r
100.00%
89.83%
90.32%
100.00%
100.55%
520.omnetpp_r
100.00%
98.76%
100.00%
100.00%
101.26%
523.xalancbmk_r
100.00%
94.51%
84.84%
100.00%
89.77%
525.x264_r
100.00%
110.59%
95.69%
100.00%
86.52%
531.deepsjeng_r
100.00%
92.41%
93.77%
100.00%
101.47%
541.leela_r
100.00%
99.27%
102.20%
100.00%
102.96%
548.exchange2_r
100.00%
139.60%
77.21%
100.00%
55.31%
557.xz_r
100.00%
93.15%
101.93%
100.00%
109.43%
| Benchmark | LLVM | AOCC | GCC | AOCC | GCC |
|---|---|---|---|---|---|
| 500.perlbench_r | 100.00% | 97.25% | 95.97% | 100.00% | 98.69% |
| 502.gcc_r | 100.00% | 100.86% | 99.14% | 100.00% | 98.30% |
| 505.mcf_r | 100.00% | 89.83% | 90.32% | 100.00% | 100.55% |
| 520.omnetpp_r | 100.00% | 98.76% | 100.00% | 100.00% | 101.26% |
| 523.xalancbmk_r | 100.00% | 94.51% | 84.84% | 100.00% | 89.77% |
| 525.x264_r | 100.00% | 110.59% | 95.69% | 100.00% | 86.52% |
| 531.deepsjeng_r | 100.00% | 92.41% | 93.77% | 100.00% | 101.47% |
| 541.leela_r | 100.00% | 99.27% | 102.20% | 100.00% | 102.96% |
| 548.exchange2_r | 100.00% | 139.60% | 77.21% | 100.00% | 55.31% |
| 557.xz_r | 100.00% | 93.15% | 101.93% | 100.00% | 109.43% |
| LLVM | clang version 23.1.3 (/labs/mjambor/git/llvm 0d261d1ca552c95a8f007e061c787ac7132fbcbc), flang version 23.1.3 (/labs/mjambor/git/llvm 0d261d1ca552c95a8f007e061c787ac7132fbcbc) |
| AOCC | AMD clang version 17.0.6 (CLANG: AOCC_5.2.0-Build#2035 2026_04_10) |
| GCC | GCC 17.0.0 20261015 (experimental) (revision 84348add236100e5f69a3e9ec4f7b1038bf2b83d) |
Non-debug executable sizes
Benchmark
LLVM
AOCC
GCC
AOCC
GCC
500.perlbench_r
100.00%
140.44%
114.46%
100.00%
81.50%
502.gcc_r
100.00%
119.25%
101.04%
100.00%
84.73%
505.mcf_r
100.00%
119.53%
83.63%
100.00%
69.97%
520.omnetpp_r
100.00%
103.08%
99.69%
100.00%
96.71%
523.xalancbmk_r
100.00%
102.18%
103.63%
100.00%
101.42%
525.x264_r
100.00%
106.29%
111.82%
100.00%
105.20%
531.deepsjeng_r
100.00%
100.33%
102.34%
100.00%
102.00%
541.leela_r
100.00%
87.76%
106.91%
100.00%
121.83%
548.exchange2_r
100.00%
18.05%
18.62%
100.00%
103.18%
557.xz_r
100.00%
105.13%
112.86%
100.00%
107.36%
Smaller binary sizes are always better.
| Benchmark | LLVM | AOCC | GCC | AOCC | GCC |
|---|---|---|---|---|---|
| 500.perlbench_r | 100.00% | 140.44% | 114.46% | 100.00% | 81.50% |
| 502.gcc_r | 100.00% | 119.25% | 101.04% | 100.00% | 84.73% |
| 505.mcf_r | 100.00% | 119.53% | 83.63% | 100.00% | 69.97% |
| 520.omnetpp_r | 100.00% | 103.08% | 99.69% | 100.00% | 96.71% |
| 523.xalancbmk_r | 100.00% | 102.18% | 103.63% | 100.00% | 101.42% |
| 525.x264_r | 100.00% | 106.29% | 111.82% | 100.00% | 105.20% |
| 531.deepsjeng_r | 100.00% | 100.33% | 102.34% | 100.00% | 102.00% |
| 541.leela_r | 100.00% | 87.76% | 106.91% | 100.00% | 121.83% |
| 548.exchange2_r | 100.00% | 18.05% | 18.62% | 100.00% | 103.18% |
| 557.xz_r | 100.00% | 105.13% | 112.86% | 100.00% | 107.36% |