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. ASRock X99 Extreme3 Is An Affordable Choice For Linux Users
  2. A Walkthrough Of The New 32 System Open-Source Linux Benchmarking Test Farm
  3. Habey MITX-6771: Mini-ITX Board With Quad-Core J1900 Bay Trail
  4. OCZ Vector 150 SSD On Linux
Latest Linux Articles
  1. 2014 Year-End NVIDIA Linux Benchmark Comparison
  2. 2014 Catalyst Linux Graphics Benchmarks Year-In-Review
  3. 17-Way Linux Graphics Card Comparison With Civilization Beyond Earth
  4. AMD Kaveri: Open-Source Radeon Gallium3D vs. Catalyst 14.12 Omega Driver
Latest Linux News
  1. GNU Binutils 2.25 Released With Port To Andes NDS32
  2. Merry Christmas & Happy Holidays 2014
  3. OpenMW 0.34 Released With Many Changes
  4. Ruby 2.2 Released With A Better Garbage Collector
  5. Xonotic 0.8 Is Slowly Creeping Closer To Being Released
  6. NVIDIA Sends Out 11 Nouveau Patches For Christmas
  7. Kodi 14.0 Released For The Holidays - Formerly Known As XBMC
  8. Devuan Is Still Moving Along As A Debian Fork Without Systemd
  9. UEFI Secure Boot Tools Updated For v2.4
  10. Phoronix Test Suite 5.4.1 Released
Latest Forum Discussions
  1. Why is it that Radeon cannot run good old (ancient) Doom 3 engine games?
  2. Debian init discussion in Phoenix Wright format
  3. Need some hand holding with upgrading xserver
  4. Aliens vs predator for Linux
  5. FPS capped on Linux (AMD fglrx drivers)
  6. Speeding up systemd networking service
  7. Storm Engine 2 (Doom 3 BFG GPL fork) got entry on IndieDb
  8. New build, first Linux PC, what could go wrong? ;)