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 Benchmarking Platform
Phoromatic Test Orchestration

Apple's LLVM 3.1 Clanging On Intel Sandy Bridge

Michael Larabel

Published on 2 April 2012
Written by Michael Larabel
Page 1 of 4 - 14 Comments

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.

Latest Articles & Reviews
  1. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  2. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  3. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  4. The Lenovo T450s Is Working Beautifully With Linux
  5. Linux 4.0 SSD EXT4 / Btrfs / XFS / F2FS Benchmarks
  6. Linux 4.0 Hard Drive Comparison With Six File-Systems
Latest Linux News
  1. Linux 4.1-rc1 Kernel Released, Packs In Several New Features
  2. It Doesn't Look Like KDBUS Will Make It For Linux 4.1
  3. Debian 9.0 Is Codenamed Stretch
  4. AMD Radeon GPUs With Linux 4.0 + Mesa 10.6-devel
  5. The Many Features Of The Linux 4.1 Kernel
  6. HTTPS For Phoronix.com
  7. Gallium3D's HUD Gets New Customization Options
  8. Intel Xeon E5-2620 v3 Haswell Performance
  9. Dell Keyboard Backlight Support In Linux 4.1
  10. With Linux 4.1 You Can Play With The Chrome OS Lightbar
Most Viewed News This Week
  1. AMD Releases New "AMDGPU" Linux Kernel Driver & Mesa Support
  2. Ubuntu's Desktop-Next Switching From .DEBs To Snappy
  3. Systemd Kills Off Shutdownd
  4. My Favorite Computer Desk Of The Past Decade For Less Than $100
  5. AMD Open-Sources "Addrlib" From Catalyst
  6. Debian 8.0 Jessie Is Ready For Release This Weekend
  7. GIMP's Porting To GTK3 Continues
  8. Qt Creator 3.4 Brings C++ Programming Improvements & More