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.

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


AI Chess Performance

OpenBenchmarking.orgNodes Per Second, More Is BetterTSCP 1.81AI Chess PerformanceLLVM-Clang 3.0GCC 4.716K32K48K64K80KSE +/- 27.65, N = 5SE +/- 31.40, N = 56666074244

7-Zip Compression

Compress Speed Test

OpenBenchmarking.orgMIPS, More Is Better7-Zip Compression 9.20.1Compress Speed TestLLVM-Clang 3.0GCC 4.72004006008001000SE +/- 11.50, N = 3SE +/- 7.26, N = 39508621. (CXX) g++ options: -pipe -lpthread


Total Time

OpenBenchmarking.orgSeconds, Fewer Is BetterC-Ray 1.1Total TimeLLVM-Clang 3.0GCC 4.72004006008001000SE +/- 4.36, N = 3SE +/- 0.27, N = 31126.29721.541. (CC) gcc options: -lm -lpthread -O3 -march=armv7-a

Phoronix Test Suite v10.8.4