1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

GCC 4.8 vs. LLVM/Clang 3.3 On Intel's Core i7 4770K

Michael Larabel

Published on 21 June 2013
Written by Michael Larabel
Page 1 of 3 - 14 Comments

Complementing the earlier Phoronix article about optimized binaries for Intel Haswell CPUs via the "-march=core-avx2" Haswell compiler optimizations, in this article is a comparison of the GCC and LLVM/Clang compilers when targeting the new Core i7 4770K CPU. GCC 4.7.3, GCC 4.8.1, LLVM Clang 3.2, and LLVM Clang 3.3 were the tested compilers under Ubuntu Linux when seeing how well these different compilers optimized for Haswell.

For this testing, GCC 4.7.3/4.8.1 and LLVM Clang 3.2/3.3 were all built from source and using similar configure options for producing release-ready optimized builds. A variety of open-source C/C++ tests were carried out on the competing compilers while using the same CFLAGS/CXXFLAGS across all of the testing. All benchmarking was handled in a fully automated and reproducible manner using the Phoronix Test Suite benchmarking software for Linux, OS X, BSD, Solaris, and Windows platforms.

The CFLAGS/CXXFLAGS set for the environment were "-O3 -march=core-avx2". In Terms of the core-avx2 optimizations, see the earlier article on optimized binaries for Haswell. Both GCC 4.7 and LLVM Clang 3.2 had early support for Intel Haswell CPUs, but the support is now much more polished in the latest releases of GCC 4.8 and LLVM Clang 3.3.

This compiler comparison and testing is quite straightforward so let's get immediately to the results from this Core i7 4770K system running an Ubuntu 13.10 development snapshot with the Linux 3.10 kernel.

<< Previous Page
1
Latest Linux Hardware Reviews
  1. Even With Re-Clocking, Nouveau Remains Behind NVIDIA's Proprietary Linux Driver
  2. The Power Consumption & Efficiency Of Open-Source GPU Drivers
  3. AMD R600g/RadeonSI Performance On Linux 3.16 With Mesa 10.3-devel
  4. Intel Pentium G3258 On Linux
Latest Linux Articles
  1. AMD Catalyst 14.6 Does Slightly Better With APITest OpenGL Tests
  2. Updated Source Engine Benchmarks On The Latest AMD/NVIDIA Linux Drivers
  3. Nouveau vs. Radeon vs. Intel Tests On Linux 3.16, Mesa 10.3-devel
  4. KVM Benchmarks On Ubuntu 14.10
Latest Linux News
  1. AMD Launches The A10-7800, The 65 Watt Kaveri
  2. Builder: A New Development IDE Being Built For GNOME
  3. GDB 7.8 Betters Python Scripting, Adds Guile Support
  4. GNOME's GTK+ Is Still Striving For A Scene Graph, Canvas API
  5. Unreal Tournament Looks Great For Team Deathmatch
  6. LibreOffice 4.3 Released With Many Exciting Changes
  7. GNOME/GTK On Wayland Gains Focus At GUADEC
  8. GNOME Stakeholders Take Issue With Groupon Over their Gnome
  9. GStreamer VA-API Plug-In Update Adds New Features
  10. Qt 5.4 Going Into Feature Freeze Next Week With Exciting Changes
Latest Forum Discussions
  1. Grand Theft Auto Running On Direct3D Natively On Linux Shows Gallium3D Potential
  2. Open-source drivers on ATI R7 260X
  3. AMD Athlon 5350 APU On Linux
  4. Debian + radeonsi
  5. Linus Torvalds On GCC 4.9: Pure & Utter Crap
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. List of Linux friendly Kickstarter projects
  8. Porting Mesa to the Playstation 2