[LLVMdev] The performance of LLVM vs GCC

Duncan Sands baldrick at free.fr
Thu Nov 3 02:27:17 PDT 2011


Hi Martin,

> Here's a more recent one:
>
> http://www.phoronix.com/scan.php?page=article&item=gcc_46_llvm29&num=1

a few comments:

(1) The smallpt benchmark uses openmp which dragonegg supports but clang
does not.  That's why on the machines with N processors the clang compiled
binary takes N times as long as the others: it is only using one processor
unlike the others.
(2) On the Himeno benchmark dragonegg beats the pants off everyone else.  But
the benchmark was compiled at -O0 (no optimization!) so this is of no interest.
(3) GraphicsMagick also uses openmp, see point (1).

Ciao, Duncan.



More information about the llvm-dev mailing list