The goal of these runs is to compare the performance of the latest
versions of LLVM and GCC on x86 in 32-bit mode. I used the following
options:
-O2 -march=core2 and -O3 -ffast-math
-march=core2 for LLVM
-O1 -march=core2,
-O2 -march=core2,
-Ofast -march=core2,
and -Ofast -ffast-math -flto -fwhole-program -march=core2 for GCC
LLVM can not produce a correct code for 254.gap. Therefore -O0 was
used for both LLVM and GCC for 254.gap.
The used machine is 3.4Ghz Intel Core i7-2600 with 8GB memory
under Fedora Core14.
GCC-4.6.1 was configured with
--enable-checking=release and was bootstrapped which
means that it was compiled by itself. LLVM-2.9 x86 binaries are taken from
LLVM download site.
All changes are given relative to LLVM-2.9 run with -O2 -march=core2.
Compilation Speed
Code Size
Here the code size is the corresponding text and data segment size.