Apple's LLVM 3.1 Clanging On Intel Sandy Bridge

Published on April 02, 2012
Written by Michael Larabel
Page 1 of 4
Discuss This Article

After delivering benchmarks in March showing the performance gains of GCC 4.7 on Intel's Sandy Bridge processors, here's a look at how the latest LLVM/Clang 3.1 compiler from Apple is shaping up for these latest Intel CPUs.

As written about back in January, open-source compilers have matured for Intel Sandy/Ivy Bridge CPUs and are already prepping for Intel Haswell (2013). LLVM has received this work too. With LLVM 3.1, which will be released next month, there are "Bug fixes and improved support for AVX1" (as introduced on Intel Sandy Bridge CPUs, continued on with Ivy Bridge, and on the AMD side found with Bulldozer CPUs) while offering "Support for AVX2 (still incomplete at this point)." The Advanced Vector Extensions 2 (AVX2) instruction set is not coming to processors until next year with Haswell.

From the six-core Intel Core i7 3960X with Hyper Threading, LLVM/Clang 3.1 from a recent SVN snapshot was tested and compared to LLVM/Clang 3.0, GCC 4.6.3, and GCC 4.7.0. A variety of C/C++ benchmarks were run from this system with the $1000 USD Sandy Bridge Extreme Edition CPU that was overclocked to 4.5GHz.

All of the compilers were built in their respective release/optimized modes. CFLAGS/CXXFLAGS of "-O3 -march=corei7-avx" were set before test installation.

<< Previous Page
1
Latest Hardware Reviews
  1. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  2. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  3. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
  4. AMD Radeon Gallium3D More Competitive With Catalyst On Linux
Latest Software Articles
  1. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  2. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
  3. F2FS File-System Shows Regressions On Linux 3.10
  4. Previewing The Radeon Gallium3D Shader Optimizations
Latest Linux News
  1. DNF Still Advancing As Experimental Yum For Fedora
  2. Logitech Begins Supporting Linux Users
  3. Modern Intel Gallium3D Driver Still Being Toyed With
  4. Linux 3.10 Kernel Benchmarks On A Core i7 Laptop
  5. GCC 4.8.1 Compiler Due To Be Out Next Week
  6. Linux 3.10 Kernel Benchmarks For Intel Ivy Bridge
  7. Linux's "Ondemand" Governor Is No Longer Fit
  8. Firefox 22 Beta Enables WebRTC Support
  9. OpenSUSE 13.1 Milestone 1 Released
  10. DRM Graphics Driver Comes For Dove/Cubox
  11. JADE: An LLVM-Based Video Decoder For MPEG RVC
Latest Forum Talk
  1. Greater Radeon Gallium3D Shader Optimization Tests
  2. Linux's "Ondemand" Governor Is No...
  3. Logitech Begins Supporting Linux Users
  4. Logitech supports linux!
  5. Modern Intel Gallium3D Driver Still Being Toyed...
  6. DNF Still Advancing As Experimental Yum For Fedora
  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