GCC 4.6/4.7 vs. LLVM-Clang 3.0/3.1 Compilers

Written by Michael Larabel in LLVM on 7 May 2012 at 09:52 AM EDT. 21 Comments
LLVM
With LLVM/Clang 3.1 due out next week, here's a look at the compiler performance of the GCC 4.6 and 4.7 compilers compared to LLVM-Clang 3.0 and a recent LLVM-Clang 3.1 SVN snapshot.

This testing was done from an Intel Sandy Bridge platform in late April while new Intel Ivy Bridge compiler benchmarks and other results are due out soon. There's also some AMD FX-8150 Bulldozer compiler benchmarks and some other earlier Clang 3.1 results.

Aside from GCC 4.6.3, GCC 4.7.0, LLVM-Clang 3.0, and LLVM-Clang 3.1 SVN, AMD's Open64 5.0 x86_64 compiler was tossed into the mix. However, for the Intel Sandy Bridge platform and the set of open-source test profiles used, AMD's Open64 flavor only ended up working for a single test profile.
LLVM Clang 3.1 GCC 4.7 Intel Core i7 Benchmarks
As far as the features of LLVM/Clang 3.1, many of the key items are mentioned in this article. The key highlights of GCC 4.7.0 are listed here. The results begin in this article and are then continued on OpenBenchmarking.org.
LLVM Clang 3.1 GCC 4.7 Intel Core i7 Benchmarks
LLVM Clang 3.1 GCC 4.7 Intel Core i7 Benchmarks
LLVM Clang 3.1 GCC 4.7 Intel Core i7 Benchmarks
LLVM Clang 3.1 GCC 4.7 Intel Core i7 Benchmarks
LLVM Clang 3.1 GCC 4.7 Intel Core i7 Benchmarks
LLVM Clang 3.1 GCC 4.7 Intel Core i7 Benchmarks
See many more results on OpenBenchmarking.org. You can also run phoronix-test-suite benchmark 1204215-SU-LLVMCLANG23 to facilitate an automated side-by-side compiler comparison on your system's software/hardware via the Phoronix Test Suite.
Related News
About The Author
Michael Larabel

Michael Larabel is the principal author of Phoronix.com and founded the site in 2004 with a focus on enriching the Linux hardware experience. Michael has written more than 20,000 articles covering the state of Linux hardware support, Linux performance, graphics drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated benchmarking software. He can be followed via Twitter, LinkedIn, or contacted via MichaelLarabel.com.

Popular News This Week