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

Benchmarking LLVM/Clang 3.2, GCC 4.8, DragonEgg Compilers

Michael Larabel

Published on 9 November 2012
Written by Michael Larabel
Page 1 of 5 - 7 Comments

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...

Latest Linux News
  1. Fedora 22 Is Being Released Next Tuesday
  2. OpenWRT 15.05 Preparing Improved Security & Better Networking
  3. Using The New LLVM/Clang OpenMP Support
  4. Zapcc Claims To Be A "Much Faster C++ Compiler"
  5. Godot 1.1 Engine Release Brings New 2D Engine
  6. Intel VA-API Driver 1.6 Is Coming
  7. Canonical Is Reportedly Considering An IPO
  8. GNOME 3.18 - GTK3 Now Supports RandR 1.5
  9. Fedora 22 Risks Being Delayed Beyond Next Week
  10. Systemd 220 Has Finally Been Released
  11. LibreOffice 5.0 Beta 1 Released
  12. Allwinner Publishes New CedarX Open-Source Code
Latest Articles & Reviews
  1. Btrfs RAID 0/1 Benchmarks On The Linux 4.1 Kernel
  2. The State Of Various Firefox Features
  3. Intel Iris Graphics Performance With Mesa 10.6
  4. Fedora Workstation 22 Is Looking Great, Running Fantastic
Most Viewed News This Week
  1. The Linux 4.0 Kernel Currently Has An EXT4 Corruption Issue
  2. AMDGPU Open-Source Driver Code Continues Maturing
  3. Oculus Rift Suspends Linux Development To Focus On Windows
  4. Microsoft Open-Sources The Windows Communication Foundation
  5. LibreOffice 5.0 Open-Source Office Suite Has Been Branched
  6. Another HTTPS Vulnerability Rattles The Internet
  7. Linux 4.1-rc4 Kernel Arrives A Day Late
  8. Wayland / Weston 1.8 Release Candidate Arrives