On 07/25/2011 12:04 PM, Maurizio De Cecco wrote:
Thanks for coming up with and sharing the tests!
I've just run them on a native i686 GNU/Linux system (1.66 GHz CoreDuo
32 bit vs your 2.7 GHz Core2Duo). The results are pretty much
consistent. They're all about 3x slower, except for gcc/size8 which is
only 1.8x slower and clang/size8 which is 6 times slower! - It might
have to do with 32 vs 64 bit but I don't have an explanation. would need
to look into asm output.
BTW. I'm pretty much impressed that some tests run faster on vmware
virtualization compared to native OSX. But yeah it's also no big
surprise either (and may further be related to ubuntu using a never
version of gcc).
So are you now considering use some #ifdef to select float/4 instead of
double/8 vectors in jMax or just change all of them?
clang version 1.1 (Debian 2.7-3)
Thread model: posix
gcc (Debian 4.6.1-4) 4.6.1