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. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. Linux Desktop Security Could Be A Whole Lot Better
  2. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  3. New NVIDIA Linux Driver Supports The GeForce GTX 780
  4. Chrome 28 To Offer More Speed Improvements
  5. Digia Announces "Boot To Qt" Project
  6. X.Org Libraries Hit By Round Of Security Issues
  7. Wayland's Weston Gets Output Scaling Support
  8. Raspberry Pi Gets New Wayland Weston Renderer
  9. Debian GNU/Hurd 2013 Release Brings New Packages
  10. Intel Ultrabook Performance Is Faster With Mesa 9.2
  11. Hot Relocation HDD To SSD Support For Btrfs
Latest Forum Talk
  1. Linux Desktop Security Could Be A Whole Lot Better
  2. Raspberry Pi Gets New Wayland Weston Renderer
  3. Wayland's Weston Gets Output Scaling Support
  4. X.Org Libraries Hit By Round Of Security Issues
  5. Fedora 18 Comes To ARMv6, Raspberry Pi
  6. ubuntu and intel
  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