The goal of these runs is to compare the performance of the latest versions of LLVM and GCC on x86 in 64-bit mode. I used the following similar options:

GCC -Ofast means -ffast-math by default whereas LLVM -O4 still uses normal floating point math, therefore GCC in -Ofast ran with -fno-fast-math to make a correct comparison.

LLVM can not produce a correct code for on any optimization level. Therefore -O0 was used for both LLVM and GCC for

The used machine is 3.4Ghz Intel Core i7-2600 with 8GB memory under Fedora Core17.

GCC-4.8 was configured with --enable-checking=release. LLVM-3.2 with CLANG and Dragonegg for x86 were build in release mode. The sources are taken from LLVM download site. All changes are given relative to LLVM-3.2 run with -O1.

Last modified: 02/04/2013 - vmakarov at redhat dot com

Return to index page.