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&rdt .
LLVM-Clang On Ubuntu Linux ARM Processor Motherboard Memory Disk Graphics OS Kernel Desktop Display Server Display Driver Compiler File-System Screen Resolution LLVM-Clang 3.0 GCC 4.7 ARMv7 rev 10 @ 1.20GHz (2 Cores) OMAP4 Panda board 1024MB 16GB SD16G Texas Instruments OMAP Ubuntu 12.10 3.4.0-201-omap4 (armv7l) Unity 2D 5.12.0 X Server 1.11.3 fbdev 0.4.2 Clang 3.0-6ubuntu3 ext4 1920x1080 GCC 4.7 OpenBenchmarking.org Processor Details - Scaling Governor: ondemand Compiler 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 ARM tscp: AI Chess Performance compress-7zip: Compress Speed Test c-ray: Total Time LLVM-Clang 3.0 GCC 4.7 66660 950 1126.29 74244 862 721.54 OpenBenchmarking.org
TSCP AI Chess Performance OpenBenchmarking.org Nodes Per Second, More Is Better TSCP 1.81 AI Chess Performance LLVM-Clang 3.0 GCC 4.7 16K 32K 48K 64K 80K SE +/- 27.65, N = 5 SE +/- 31.40, N = 5 66660 74244
7-Zip Compression Compress Speed Test OpenBenchmarking.org MIPS, More Is Better 7-Zip Compression 9.20.1 Compress Speed Test LLVM-Clang 3.0 GCC 4.7 200 400 600 800 1000 SE +/- 11.50, N = 3 SE +/- 7.26, N = 3 950 862 1. (CXX) g++ options: -pipe -lpthread
C-Ray Total Time OpenBenchmarking.org Seconds, Fewer Is Better C-Ray 1.1 Total Time LLVM-Clang 3.0 GCC 4.7 200 400 600 800 1000 SE +/- 4.36, N = 3 SE +/- 0.27, N = 3 1126.29 721.54 1. (CC) gcc options: -lm -lpthread -O3 -march=armv7-a
Phoronix Test Suite v10.8.5