LLVM Clang vs. GCC On ARM Cortex-A15 ARM Cortex-A15 compiler benchmarks of GCC 4.6, 4.7, and 4.8 compared to LLVM/Clang 3.0 on the Samsung Chromebook with Samsung Exynos 5 Dual. Benchmarks for a future article on Phoronix.com. GCC 4.6.3: Processor: Exynos ARMv7 rev 4 @ 1.70GHz (2 Cores), Motherboard: SAMSUNG EXYNOS5 (Flattened Device Tree), Memory: 2048MB, Disk: 16GB SEM16G OS: Ubuntu 12.04, Kernel: 3.4.0 (armv7l), Desktop: Unity 2D 5.16.0, Display Server: X Server 1.11.3, Compiler: GCC 4.6, File-System: ext4, Screen Resolution: 1366x768 GCC 4.7.2: Processor: Exynos ARMv7 rev 4 @ 1.70GHz (2 Cores), Motherboard: SAMSUNG EXYNOS5 (Flattened Device Tree), Memory: 2048MB, Disk: 16GB SEM16G OS: Ubuntu 12.04, Kernel: 3.4.0 (armv7l), Desktop: Unity 2D 5.16.0, Display Server: X Server 1.11.3, Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 1366x768 GCC 4.8.0 SVN: Processor: Exynos ARMv7 rev 4 @ 1.70GHz (2 Cores), Motherboard: SAMSUNG EXYNOS5 (Flattened Device Tree), Memory: 2048MB, Disk: 16GB SEM16G OS: Ubuntu 12.04, Kernel: 3.4.0 (armv7l), Desktop: Unity 2D 5.16.0, Display Server: X Server 1.11.3, Compiler: GCC 4.8.0 20121008, File-System: ext4, Screen Resolution: 1366x768 LLVM Clang 3.0: Processor: Exynos ARMv7 rev 4 @ 1.70GHz (2 Cores), Motherboard: SAMSUNG EXYNOS5 (Flattened Device Tree), Memory: 2048MB, Disk: 16GB SEM16G OS: Ubuntu 12.04, Kernel: 3.4.0 (armv7l), Desktop: Unity 2D 5.16.0, Display Server: X Server 1.11.3, Compiler: Clang 3.0-6ubuntu3, File-System: ext4, Screen Resolution: 1366x768 Timed HMMer Search 2.3.2 Pfam Database Search Seconds < Lower Is Better GCC 4.6.3 ...... 124.30 |=================================================== GCC 4.7.2 ...... 114.98 |=============================================== GCC 4.8.0 SVN .. 124.65 |=================================================== LLVM Clang 3.0 . 131.65 |====================================================== Timed MrBayes Analysis 3.1.2 Primate Phylogeny Analysis Seconds < Lower Is Better GCC 4.6.3 ...... 201.62 |================================================ GCC 4.7.2 ...... 200.22 |================================================ GCC 4.8.0 SVN .. 197.95 |=============================================== LLVM Clang 3.0 . 226.50 |====================================================== GraphicsMagick 1.3.16 Operation: Blur Iterations Per Minute > Higher Is Better GCC 4.6.3 ...... 32 |========================================================== GCC 4.7.2 ...... 32 |========================================================== GCC 4.8.0 SVN .. 32 |========================================================== LLVM Clang 3.0 . 19 |================================== GraphicsMagick 1.3.16 Operation: Sharpen Iterations Per Minute > Higher Is Better GCC 4.6.3 ...... 23 |========================================================== GCC 4.7.2 ...... 23 |========================================================== GCC 4.8.0 SVN .. 23 |========================================================== LLVM Clang 3.0 . 11 |============================ GraphicsMagick 1.3.16 Operation: Resizing Iterations Per Minute > Higher Is Better GCC 4.6.3 ...... 40 |========================================================== GCC 4.7.2 ...... 40 |========================================================== GCC 4.8.0 SVN .. 40 |========================================================== LLVM Clang 3.0 . 22 |================================ GraphicsMagick 1.3.16 Operation: HWB Color Space Iterations Per Minute > Higher Is Better GCC 4.6.3 ...... 50 |========================================================== GCC 4.7.2 ...... 47 |======================================================= GCC 4.8.0 SVN .. 47 |======================================================= LLVM Clang 3.0 . 39 |============================================= GraphicsMagick 1.3.16 Operation: Local Adaptive Thresholding Iterations Per Minute > Higher Is Better GCC 4.6.3 ...... 22 |======================================================= GCC 4.7.2 ...... 23 |========================================================== GCC 4.8.0 SVN .. 23 |========================================================== LLVM Clang 3.0 . 13 |================================= C-Ray 1.1 Total Time Seconds < Lower Is Better GCC 4.6.3 ...... 435.43 |============================================== GCC 4.7.2 ...... 313.32 |================================= GCC 4.8.0 SVN .. 313.27 |================================= LLVM Clang 3.0 . 508.53 |====================================================== Primesieve 4.0 1e12 Prime Number Generation Seconds < Lower Is Better GCC 4.6.3 ...... 883.94 |=============================== GCC 4.7.2 ...... 866.18 |============================== GCC 4.8.0 SVN .. 886.19 |=============================== LLVM Clang 3.0 . 1507.90 |=====================================================