LLVM 3.2 Clang Intel Linux Compiler Intel Core i7-3960X Sandy Bridge Extreme Edition computer running Ubuntu 12.10 and comparing builds of LLVM/Clang 3.1 and LLVM/Clang 3.2 SVN. LLVM and Clang both times were built in release mode of --disable-assertions and --enable-optimized. Compiler flags passed to tests included -O3 and then each -march=nocona and -march=corei7-avx to see if there's any x86_64 compiler tuning optimizations when using corei7-avx for Intel Sandy Bridge CPUs. Benchmarking for a future article on Phoronix.com. corei7-avx: LLVM-Clang 3.2 SVN: Processor: Intel Core i7-3960X @ 3.30GHz (12 Cores), Motherboard: Intel DX79SI, Chipset: Intel Xeon E5/Core, Memory: 8192MB, Disk: 64GB OCZ VERTEX, Graphics: AMD Radeon HD 4650 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Intel 82579LM Gigabit Connection OS: Ubuntu 12.10, Kernel: 3.6.0-030600-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: radeon 6.99.99, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: Clang 3.2 (SVN 165433) + LLVM 3.2svn, File-System: ext4, Screen Resolution: 1920x1080 nocona: LLVM-Clang 3.2 SVN: Processor: Intel Core i7-3960X @ 3.30GHz (12 Cores), Motherboard: Intel DX79SI, Chipset: Intel Xeon E5/Core, Memory: 8192MB, Disk: 64GB OCZ VERTEX, Graphics: AMD Radeon HD 4650 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Intel 82579LM Gigabit Connection OS: Ubuntu 12.10, Kernel: 3.6.0-030600-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: radeon 6.99.99, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: Clang 3.2 (SVN 165433) + LLVM 3.2svn, File-System: ext4, Screen Resolution: 1920x1080 nocona: LLVM-Clang 3.1: Processor: Intel Core i7-3960X @ 3.30GHz (12 Cores), Motherboard: Intel DX79SI, Chipset: Intel Xeon E5/Core, Memory: 8192MB, Disk: 64GB OCZ VERTEX, Graphics: AMD Radeon HD 4650 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Intel 82579LM Gigabit Connection OS: Ubuntu 12.10, Kernel: 3.6.0-030600-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: radeon 6.99.99, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: Clang 3.1 + LLVM 3.1, File-System: ext4, Screen Resolution: 1920x1080 corei7-avx: LLVM-Clang 3.1: Processor: Intel Core i7-3960X @ 3.30GHz (12 Cores), Motherboard: Intel DX79SI, Chipset: Intel Xeon E5/Core, Memory: 8192MB, Disk: 64GB OCZ VERTEX, Graphics: AMD Radeon HD 4650 512MB, Audio: Realtek ALC892, Monitor: DELL S2409W, Network: Intel 82579LM Gigabit Connection OS: Ubuntu 12.10, Kernel: 3.6.0-030600-generic (x86_64), Desktop: Unity 6.8.0, Display Server: X Server 1.13.0, Display Driver: radeon 6.99.99, OpenGL: 3.0 Mesa 9.0-devel Gallium 0.4, Compiler: Clang 3.1 + LLVM 3.1, File-System: ext4, Screen Resolution: 1920x1080 FLAC Audio Encoding 1.2.1 WAV To FLAC Seconds < Lower Is Better corei7-avx: LLVM-Clang 3.2 SVN . 6.36 |======================================== nocona: LLVM-Clang 3.2 SVN ..... 6.40 |======================================== nocona: LLVM-Clang 3.1 ......... 6.41 |======================================== corei7-avx: LLVM-Clang 3.1 ..... 6.41 |======================================== Timed HMMer Search 2.3.2 Pfam Database Search Seconds < Lower Is Better corei7-avx: LLVM-Clang 3.2 SVN . 15.37 |======================================= nocona: LLVM-Clang 3.2 SVN ..... 15.45 |======================================= nocona: LLVM-Clang 3.1 ......... 15.41 |======================================= corei7-avx: LLVM-Clang 3.1 ..... 15.42 |======================================= Himeno Benchmark 3.0 Poisson Pressure Solver MFLOPS > Higher Is Better corei7-avx: LLVM-Clang 3.2 SVN . 1545.92 |==================================== nocona: LLVM-Clang 3.2 SVN ..... 1561.02 |===================================== nocona: LLVM-Clang 3.1 ......... 1575.76 |===================================== corei7-avx: LLVM-Clang 3.1 ..... 1582.01 |===================================== Timed PHP Compilation 5.2.9 Time To Compile Seconds < Lower Is Better corei7-avx: LLVM-Clang 3.2 SVN . 15.69 |============================== nocona: LLVM-Clang 3.2 SVN ..... 15.47 |============================= nocona: LLVM-Clang 3.1 ......... 20.57 |======================================= corei7-avx: LLVM-Clang 3.1 ..... 20.57 |======================================= GraphicsMagick 1.3.16 Operation: Blur Iterations Per Minute > Higher Is Better corei7-avx: LLVM-Clang 3.2 SVN . 82 |======================================== nocona: LLVM-Clang 3.2 SVN ..... 78 |====================================== nocona: LLVM-Clang 3.1 ......... 87 |========================================== corei7-avx: LLVM-Clang 3.1 ..... 87 |========================================== GraphicsMagick 1.3.16 Operation: Sharpen Iterations Per Minute > Higher Is Better corei7-avx: LLVM-Clang 3.2 SVN . 31 |========================= nocona: LLVM-Clang 3.2 SVN ..... 53 |========================================== nocona: LLVM-Clang 3.1 ......... 53 |========================================== corei7-avx: LLVM-Clang 3.1 ..... 52 |========================================= GraphicsMagick 1.3.16 Operation: Resizing Iterations Per Minute > Higher Is Better corei7-avx: LLVM-Clang 3.2 SVN . 89 |================================== nocona: LLVM-Clang 3.2 SVN ..... 107 |========================================= nocona: LLVM-Clang 3.1 ......... 104 |======================================== corei7-avx: LLVM-Clang 3.1 ..... 104 |======================================== GraphicsMagick 1.3.16 Operation: HWB Color Space Iterations Per Minute > Higher Is Better corei7-avx: LLVM-Clang 3.2 SVN . 124 |========================================= nocona: LLVM-Clang 3.2 SVN ..... 123 |========================================= nocona: LLVM-Clang 3.1 ......... 121 |======================================== corei7-avx: LLVM-Clang 3.1 ..... 121 |======================================== GraphicsMagick 1.3.16 Operation: Local Adaptive Thresholding Iterations Per Minute > Higher Is Better corei7-avx: LLVM-Clang 3.2 SVN . 45 |======================================= nocona: LLVM-Clang 3.2 SVN ..... 48 |========================================= nocona: LLVM-Clang 3.1 ......... 45 |======================================= corei7-avx: LLVM-Clang 3.1 ..... 49 |========================================== C-Ray 1.1 Total Time Seconds < Lower Is Better corei7-avx: LLVM-Clang 3.2 SVN . 20.99 |=============================== nocona: LLVM-Clang 3.2 SVN ..... 21.62 |================================ nocona: LLVM-Clang 3.1 ......... 26.34 |======================================= corei7-avx: LLVM-Clang 3.1 ..... 26.30 |======================================= Smallpt 1.0 Global Illumination Renderer; 100 Samples Seconds < Lower Is Better corei7-avx: LLVM-Clang 3.2 SVN . 152 |======================================== nocona: LLVM-Clang 3.2 SVN ..... 157 |========================================= nocona: LLVM-Clang 3.1 ......... 147 |====================================== corei7-avx: LLVM-Clang 3.1 ..... 146 |====================================== Apache Benchmark 2.4.3 Static Web Page Serving Requests Per Second > Higher Is Better corei7-avx: LLVM-Clang 3.2 SVN . 16277.25 |=================================== nocona: LLVM-Clang 3.2 SVN ..... 16835.24 |==================================== nocona: LLVM-Clang 3.1 ......... 16863.32 |==================================== corei7-avx: LLVM-Clang 3.1 ..... 16850.87 |==================================== PostgreSQL pgbench 8.4.11 TPC-B Transactions Per Second TPS > Higher Is Better corei7-avx: LLVM-Clang 3.2 SVN . 377.98 |====================================== nocona: LLVM-Clang 3.2 SVN ..... 370.42 |===================================== nocona: LLVM-Clang 3.1 ......... 366.36 |===================================== corei7-avx: LLVM-Clang 3.1 ..... 360.51 |====================================