LLVM/Clang 3.2 Compiler Competing With GCC

Published on December 27, 2012
Written by Michael Larabel
Page 2 of 5
Discuss This Article

Kicking things off with some molecular biology benchmarks, for HMMer the latest LLVM/Clang 3.2 release is still slower than GCC. GCC 4.8 wasn't any faster than GCC 4.7, but LLVM/Clang 3.2 is slightly slower still and wasn't improved between the 3.1 and 3.2 releases. (For the compiler flags noted, the -lm part can be ignored as for some cases LLVM/Clang 3.1 had problems with the -march=native mode on the Intel Ivy Bridge processor so the ordering was switched around.)

LLVM/Clang 3.2 is close behind the modern GCC releases tested on this Ivy Bridge processor.

For the new BLAKE2 crypto algorithm, the benchmark wouldn't build with LLVM/Clang 3.1 but it now works with LLVM/Clang 3.2. The Clang performance was shortly behind that of the GNU Compiler Collection.

LLVM/Clang secures a win when it comes down to the Monte Carlo test within SciMark. GCC 4.8 makes some performance gains over GCC 4.7 for this computational test, but LLVM/Clang 3.2 remains noticeably faster on the Intel processor.

There isn't much difference between LLVM/Clang and GCC for the Fast Fourier Transform workload.

Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. LLVM 3.3 Officially Released
  2. LLVM/Clang Now Uses Loop Vectorizer At New Levels
  3. Intel GPU Driver Tries To Rip Out FBDEV Support
  4. Coreboot Doing AMD USB 3.0, Q35 QEMU Emulation
  5. VP9 Codec Now Enabled By Default In Chrome
  6. openSUSE 13.1 M2 Plays On PulseAudio 4.0
  7. Debian 7.1 Rounds In Some Bug-Fixes
  8. Min / Max FPS Comes To Test Results
  9. Google Pushes More Mesa / Gallium3D Patches
  10. The Phoronix Migration Is Fully Complete
  11. Linux 3.10-rc6 Kernel Brings In More Fixes
Latest Forum Talk
  1. AMD Catalyst 13.6 Beta
  2. LLVM 3.3 Officially Released
  3. Intel GPU Driver Tries To Rip Out FBDEV Support
  4. The Wayland Situation: Facts About X vs. Wayland
  5. VP9 Codec Now Enabled By Default In Chrome
  6. Gallium3D LLVMpipe Benchmarks From Intel Haswell
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite