GCC vs. LLVM/Clang Compilers On ARMv7 Linux
Phoronix: GCC vs. LLVM/Clang Compilers On ARMv7 Linux
While comparing compiler performance of different Linux code compilers on different software stacks and hardware configurations is nothing new at all to Phoronix, usually it's done on x86 hardware. However, with ARM hardware becoming increasingly common and much more powerful, here's a comparison of the GCC and LLVM/Clang compilers on a dual-core ARM development board...
Testsuite is bogus as usual
The test results are completely bogus. Most of tests are compiled w/o any optimizations at all. What's the point of comparing the unoptimized binaries?
The only "good" test is N-Queens, which is compiled with -O3. Everything else is compiled effectively with -O0.
C-Ray is bogus as well, because clang does not support -march=native and thus yields slow armv4 code in this case.