GCC 4.6, LLVM/Clang 3.0, Open64 Benchmarks
Phoronix: GCC 4.6, LLVM/Clang 3.0, Open64 Benchmarks
For those interested by last week's articles on the AMD Bulldozer benchmarks of the GCC, Open64, and LLVM/Clang compilers and the FX-8150 compiler tuning, but curious to know how the new LLVM/Clang 3.0 and other compilers perform on other processors, here's some new test results. These tests are looking at GCC 4.6, LLVM/Clang 3.0-RC1, and AMD Open64 compilers on Intel Sandy Bridge and AMD Shanghai hardware.
SunStudio/Solaris studio comparison
I would like to see comparison side-by-side with Solaris Studio (Formerly SunStudio).
SmallPT benchmark is useless when comparing compilers
SmallPT is not optimized at all in PTS, therefore when you compare to compilers you don't really compare the potential speed of their executables but something else which is not related to speed at all.
CLANG/LLVM opts to generate slower code when in no optimization mode. It is slower than GCC when unoptimized but you can't learn anything about its code generation when optimizing for full speed.
See for example the difference of optimized and unoptimized SmallPT. The difference is HUGE. The optimized version is more than 3 times faster.
(My machine, Phenom II X6 @ 3.6 GHz)
The smallpt test should be optimized in future versions of PTS