Hi,
This is kind of an outgowth of the debate on R10k/Itanium architecture over in the thread about the 1ghz r16k's. Anyway, I figured i'd make a little benchmark. The code is at the bottom of this post. Anyway, I was wondering if anyone could compile it with MipsPRO and optimize for R10000. I'm getting bummer numbers...although the pentium's technically not doing the same thing. Ok, so two requests:
1) Can someone figure out why the p4 won't do 128bit with long double? Do I have to do it by hand? I thought this was what sse2 was for?
2) Can someone compile test_quad.c with mipspro optimized for r10k?
THANKS!
here's what I got:
nekochan's gcc 3.4.0 vs. gentoo's 3.4.5
O2k on 1 R10k 250
And Dell on 1 Xeon 3.06
and finally, the code:
test_quad.c
times are in seconds...
This is kind of an outgowth of the debate on R10k/Itanium architecture over in the thread about the 1ghz r16k's. Anyway, I figured i'd make a little benchmark. The code is at the bottom of this post. Anyway, I was wondering if anyone could compile it with MipsPRO and optimize for R10000. I'm getting bummer numbers...although the pentium's technically not doing the same thing. Ok, so two requests:
1) Can someone figure out why the p4 won't do 128bit with long double? Do I have to do it by hand? I thought this was what sse2 was for?
2) Can someone compile test_quad.c with mipspro optimized for r10k?
THANKS!
here's what I got:
nekochan's gcc 3.4.0 vs. gentoo's 3.4.5
O2k on 1 R10k 250
Code: Select all
-bash-2.05b$ gcc -mtune=r8k -o test test_quad.c
-bash-2.05b$ ./test
Using default value, n = 128
size of long double: 16
Elapsed time to multiply two matrices of order 128: 30.121496
And Dell on 1 Xeon 3.06
Code: Select all
logan@chopstick ~ $ gcc -o test -mtune=pentium4 test_quad.c
logan@chopstick ~ $ ./test
Using default value, n = 128
size of long double: 12
Elapsed time to multiply two matrices of order 128: 0.066819
and finally, the code:
test_quad.c
times are in seconds...
Ninety-nine percent of who you are is invisible and untouchable.
-R. Buckminster Fuller
-R. Buckminster Fuller