LLVM-Clang On Ubuntu Linux ARM

Comparing GCC 4.7.0 and LLVM-Clang 3.0 from Ubuntu repository on Ubuntu 12.10 daily snapshot from 5 June 2012. Testing for a future article on Phoronix.com. The CFLAGS/CXXFLAGS passed to each compiler were -O3 and -march=armv7-a.

HTML result view exported from: https://openbenchmarking.org/result/1206060-SU-LLVMCLANG78&sro.

LLVM-Clang On Ubuntu Linux ARMProcessorMotherboardMemoryDiskGraphicsOSKernelDesktopDisplay ServerDisplay DriverCompilerFile-SystemScreen ResolutionLLVM-Clang 3.0GCC 4.7ARMv7 rev 10 @ 1.20GHz (2 Cores)OMAP4 Panda board1024MB16GB SD16GTexas Instruments OMAPUbuntu 12.103.4.0-201-omap4 (armv7l)Unity 2D 5.12.0X Server 1.11.3fbdev 0.4.2Clang 3.0-6ubuntu3ext41920x1080GCC 4.7OpenBenchmarking.orgProcessor Details- Scaling Governor: ondemandCompiler Details- GCC 4.7: --build=arm-linux-gnueabihf --disable-libitm --disable-sjlj-exceptions --disable-werror --enable-checking=release --enable-clocale=gnu --enable-gnu-unique-object --enable-languages=c,c++,go,fortran,objc,obj-c++ --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-multilib --enable-nls --enable-objc-gc --enable-plugin --enable-shared --enable-threads=posix --host=arm-linux-gnueabihf --target=arm-linux-gnueabihf --with-arch=armv7-a --with-float=hard --with-fpu=vfpv3-d16 --with-mode=thumb -v

LLVM-Clang On Ubuntu Linux ARMtscp: AI Chess Performancecompress-7zip: Compress Speed Testc-ray: Total TimeLLVM-Clang 3.0GCC 4.7666609501126.2974244862721.54OpenBenchmarking.org

TSCP

AI Chess Performance

OpenBenchmarking.orgNodes Per Second, More Is BetterTSCP 1.81AI Chess PerformanceGCC 4.7LLVM-Clang 3.016K32K48K64K80KSE +/- 31.40, N = 5SE +/- 27.65, N = 57424466660

7-Zip Compression

Compress Speed Test

OpenBenchmarking.orgMIPS, More Is Better7-Zip Compression 9.20.1Compress Speed TestGCC 4.7LLVM-Clang 3.02004006008001000SE +/- 7.26, N = 3SE +/- 11.50, N = 38629501. (CXX) g++ options: -pipe -lpthread

C-Ray

Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeGCC 4.7LLVM-Clang 3.02004006008001000SE +/- 0.27, N = 3SE +/- 4.36, N = 3721.541126.291. (CC) gcc options: -lm -lpthread -O3 -march=armv7-a


Phoronix Test Suite v10.8.5