Clang's Competition For GCC On Intel Haswell

Written by Michael Larabel in Software on 6 February 2014 at 04:00 AM EST. Page 1 of 4. 29 Comments.

After a few days ago showing LLVM Clang 3.4 running very well on AMD's Kaveri APU, here are some benchmarks of GCC 4.8.2, the latest GCC 4.9 development snapshot, and LLVM Clang 3.4 from an Intel Core i5 "Haswell" system running Ubuntu 14.04 with the Linux 3.13 kernel.

This testing is quite simple and straightforward as it's intended to just complement the AMD A10-7850K compiler benchmarks of the previous days. The processor being used this time around was the Intel Core i5 4670 that is a true quad-core CPU with a 3.4GHz base frequency and 3.8GHz Turbo Frequency. Being a Haswell CPU, it supports SSE 4.2, AVX 2.0, and all of the other latest-generation Intel extensions.

The system with a development snapshot of Ubuntu 14.04 LTS was tested when building GCC 4.8.2 from source as well as GCC 4.9.0 20140126 and then LLVM Clang 3.4. All compilers were built in their release/optimized modes.

On the following pages are the benchmarks of various C/C++ test profiles when built under the different compilers and then executed via the Phoronix Test Suite.


Related Articles