I've often found the Phoronix test results very different from that of my own. The 7-zip test for instance, it yields very different results from what I get when I use the built in benchmark functionality so I figured I would do a real (as in non-synthetic) test using p7zip on my corei5 machine (nehalem):
Code:
GCC -O1 -march=native 0m36.376s
GCC -O1 -march=native 0m36.369s Profile guided optimization
GCC4.7 -O1 -march=native 0m35.814s
GCC4.7 -O1 -march=native 0m35.761s Profile guided optimization
Clang -O1 -march=native 0m42.236s
GCC -O2 -march=native 0m35.734s
GCC -O2 -march=native 0m33.435s Profile guided optimization
GCC4.7 -O2 -march=native 0m35.663s
GCC4.7 -O2 -march=native 0m33.831s Profile guided optimization
Clang -O2 -march=native 0m39.658s
GCC -O3 -march=native 0m34.197s
GCC -O3 -march=native 0m33.428s Profile guided optimization
GCC4.7 -O3 -march=native 0m34.693s
GCC4.7 -O3 -march=native 0m33.224s Profile guided optimization
Clang -O3 -march=native 0m39.642s
These are the results of compressing an .iso file (Arch linux netinstall to be exact) on a core i5, 64bit Arch Linux system using the following compilers:
GCC 4.6.2-1, Clang 2.9-7, GCC 4.7 snapshot 20111105 (I built the LLVM 3.0 release aswell but it failed compiling stating it was unable to find libc++, I guess I'll wait for the full release to hit the Arch repos for that one)
Anyway there wasn't much to compare against this time in Phoronix's test since for some reason there was no Clang/LLVM test and Open64 (4.2.4-2) wasn't able to build p7zip on my machine. But as has always been the case in my tests, GCC outperforms Clang/LLVM by a good margin.