Benchmarking LLVM/Clang 3.2, GCC 4.8, DragonEgg Compilers

Published on November 09, 2012
Written by Michael Larabel
Page 1 of 5
Discuss This Article

Earlier this week I shared some updated benchmarks of the latest development code for LLVM/Clang 3.2 on an Intel Core i7 processor. Now from this same setup to complement the LLVM 3.1/3.2 benchmarks are results of the GCC 4.7.2 compiler, the latest GCC 4.8 development snapshot, and benchmarks of GCC when using LLVM's DragonEgg 3.1/3.2-SVN optimizer plug-in.

The tested LLVM releases were in their release/optimized builds as was the vanilla GCC compiles. Testing still happened from the Intel Core i7 720QM-based Lenovo ThinkPad W510 notebook running Ubuntu 12.10 x86_64 with the Linux 3.5 kernel.

The test configurations included LLVM Clang 3.1, LLVM Clang 3.2 SVN, GCC 4.7.2, GCC 4.8.0 using the 2012-11-04 snapshot, GCC 4.7.2 when paired with the DragonEgg 3.1 plug-in, GCC 4.7.2 with the DragonEgg 3.2 SVN compiler plug-in with LLVM 3.2 SVN, and then GCC 4.7.2 with the DragonEgg 3.2 SVN compiler plug-in with LLVM 3.2 SVN while additionally enabling the GCC optimizers in addition to the LLVM optimizers (using the "-fplugin-arg-dragonegg-enable-gcc-optzns" switch at compile-time).

For those still not familiar with DragonEgg, a GCC 4.5+ plug-in serves as a replacement to GCC's optimizers and code generations with those from LLVM. The DragonEgg plug-in works on x86 and x86_64 architectures with some ARM support. In the long run it wants to work with all GCC-supported languages but for now it's best off with C, C++, ADA, and Fortran. The Java, Objective-C, and Go language support is more limited with the LLVM optimizers and code generators.

Now let's see some results of the latest GCC and DragonEgg against LLVM...

<< Previous Page
1
Latest Hardware Reviews
  1. Intel Haswell HD Graphics 4600 vs. AMD Radeon Graphics On Linux
  2. Intel Haswell HD Graphics 4600 Performance On Ubuntu Linux
  3. Intel Core i7 4770K "Haswell" Benchmarks On Ubuntu Linux
  4. The First Experience Of Intel Haswell On Linux
Latest Software Articles
  1. Optimized Binaries Provide Great Benefits For Intel Haswell
  2. 11-Way Linux, BSD Platform Comparison
  3. SNA Acceleration Works Great For Intel Core i7 Haswell
  4. The Linux Evolution For Intel Haswell's Performance
Latest Linux News
  1. Mir's GPLv3 License Is Now Raising Concerns
  2. NVIDIA Driver Soon Likely To Support EGL, Mir
  3. OpenMandriva Goes Into Alpha Form, Russian-Based
  4. NVIDIA Brings Their Linux Driver To ARM
  5. D Language Still Showing Promise, Advancements
  6. Planetary Annihilation Released For Linux Gamers
  7. Gentoo Starts Work On KDE-Wayland Support
  8. NVIDIA To License Its Kepler GPU Technology
  9. KDE's KWin Made Lots Of Progress In 4.11
  10. Ubuntu Announces Carrier Advisory Group
  11. Qt 5.1 Release Candidate 1 Has Arrived
Latest Forum Talk
  1. D Language Still Showing Promise, Advancements
  2. PulseAudio 4.0 Brings Many Changes
  3. Intel GPU Driver Tries To Rip Out FBDEV Support
  4. Mir's GPLv3 License Is Now Raising Concerns
  5. In-Fighting Continues Over Mir On Non-Unity Ubuntu
  6. VP9 Codec Now Enabled By Default In Chrome
  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