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.
Processor: ARMv7 rev 10 @ 1.20GHz (2 Cores), Motherboard: OMAP4 Panda board, Memory: 1024MB, Disk: 16GB SD16G, Graphics: Texas Instruments OMAP
OS: Ubuntu 12.10, Kernel: 3.4.0-201-omap4 (armv7l), Desktop: Unity 2D 5.12.0, Display Server: X Server 1.11.3, Display Driver: fbdev 0.4.2, Compiler: Clang 3.0-6ubuntu3, File-System: ext4, Screen Resolution: 1920x1080
Processor Notes: Scaling Governor: ondemand
OS: Ubuntu 12.10, Kernel: 3.4.0-201-omap4 (armv7l), Desktop: Unity 2D 5.12.0, Display Server: X Server 1.11.3, Display Driver: fbdev 0.4.2, Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 1920x1080
Compiler Notes: --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
Processor Notes: Scaling Governor: ondemand
This is a test of C-Ray, a simple raytracer designed to test the floating-point CPU performance. This test is multi-threaded (16 threads per core), will shoot 8 rays per pixel for anti-aliasing, and will generate a 1600 x 1200 image. Learn more via the OpenBenchmarking.org test page.
Processor: ARMv7 rev 10 @ 1.20GHz (2 Cores), Motherboard: OMAP4 Panda board, Memory: 1024MB, Disk: 16GB SD16G, Graphics: Texas Instruments OMAP
OS: Ubuntu 12.10, Kernel: 3.4.0-201-omap4 (armv7l), Desktop: Unity 2D 5.12.0, Display Server: X Server 1.11.3, Display Driver: fbdev 0.4.2, Compiler: Clang 3.0-6ubuntu3, File-System: ext4, Screen Resolution: 1920x1080
Processor Notes: Scaling Governor: ondemand
Testing initiated at 6 June 2012 11:35 by user phoronix.
Processor: ARMv7 rev 10 @ 1.20GHz (2 Cores), Motherboard: OMAP4 Panda board, Memory: 1024MB, Disk: 16GB SD16G, Graphics: Texas Instruments OMAP
OS: Ubuntu 12.10, Kernel: 3.4.0-201-omap4 (armv7l), Desktop: Unity 2D 5.12.0, Display Server: X Server 1.11.3, Display Driver: fbdev 0.4.2, Compiler: GCC 4.7, File-System: ext4, Screen Resolution: 1920x1080
Compiler Notes: --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
Processor Notes: Scaling Governor: ondemand
Testing initiated at 6 June 2012 14:54 by user phoronix.