GMPBench for Sun Fire T2000
Greg Childers
jgchilders at uk-alumni.org
Fri Apr 28 08:28:50 CEST 2006
At 04:24 PM 4/25/2006, Torbjorn Granlund wrote:
>What sort of gmpbench numbers did you get?
Here are the results. In each case, I compiled the library and
benchmark with the same compiler.
library and bench compiled with gcc:
***** GMPbench version 0.1 *****
Using CFLAGS = "-O3 -fomit-frame-pointer -m64 -mptr64
-mcpu=ultrasparc -I. -L." from your environment
Using default CC = "gcc"
Using LIBS = "-lgmp" from your environment
Using compilation command: gcc -O3 -fomit-frame-pointer -m64 -mptr64
-mcpu=ultrasparc -I. -L. foo.c -o foo -lgmp
Using gmp version: 4.2
Compiling benchmarks
Running benchmarks
Category base
Program multiply
multiply 128 128
GMPbench.base.multiply.128,128 result: 333084
multiply 512 512
GMPbench.base.multiply.512,512 result: 27786
multiply 8192 8192
GMPbench.base.multiply.8192,8192 result: 247
multiply 131072 131072
GMPbench.base.multiply.131072,131072 result: 5.37
multiply 2097152 2097152
GMPbench.base.multiply.2097152,2097152 result: 0.236
GMPbench.base.multiply result: 310.74
Program divide
divide 8192 32
GMPbench.base.divide.8192,32 result: 62711
divide 8192 64
GMPbench.base.divide.8192,64 result: 50064
divide 8192 128
GMPbench.base.divide.8192,128 result: 28473
divide 8192 4096
GMPbench.base.divide.8192,4096 result: 443
divide 8192 8064
GMPbench.base.divide.8192,8064 result: 6158
divide 131072 8192
GMPbench.base.divide.131072,8192 result: 9.27
divide 131072 65536
GMPbench.base.divide.131072,65536 result: 4.99
divide 8388608 4194304
GMPbench.base.divide.8388608,4194304 result: 0.0183
GMPbench.base.divide result: 346.22
GMPbench.base result: 328
Category app
Program rsa
rsa 512
GMPbench.app.rsa.512 result: 78.6
rsa 1024
GMPbench.app.rsa.1024 result: 12.3
rsa 2048
GMPbench.app.rsa.2048 result: 1.69
GMPbench.app.rsa result: 11.778
GMPbench.app result: 11.778
GMPbench result: 62.154
library and bench compiled with cc:
***** GMPbench version 0.1 *****
Using CFLAGS = "-xO2 -fast -xarch=v9 -L." from your environment
Using CC = "cc" from your environment
Using LIBS = "-dn -lgmp -dy" from your environment
Using compilation command: cc -xO2 -fast -xarch=v9 -L. foo.c -o foo
-dn -lgmp -dy
Using gmp version: 4.2
Compiling benchmarks
Running benchmarks
Category base
Program multiply
multiply 128 128
GMPbench.base.multiply.128,128 result: 330659
multiply 512 512
GMPbench.base.multiply.512,512 result: 27767
multiply 8192 8192
GMPbench.base.multiply.8192,8192 result: 247
multiply 131072 131072
GMPbench.base.multiply.131072,131072 result: 5.35
multiply 2097152 2097152
GMPbench.base.multiply.2097152,2097152 result: 0.236
GMPbench.base.multiply result: 310.01
Program divide
divide 8192 32
GMPbench.base.divide.8192,32 result: 64880
divide 8192 64
GMPbench.base.divide.8192,64 result: 50245
divide 8192 128
GMPbench.base.divide.8192,128 result: 29333
divide 8192 4096
GMPbench.base.divide.8192,4096 result: 443
divide 8192 8064
GMPbench.base.divide.8192,8064 result: 6158
divide 131072 8192
GMPbench.base.divide.131072,8192 result: 9.27
divide 131072 65536
GMPbench.base.divide.131072,65536 result: 4.99
divide 8388608 4194304
GMPbench.base.divide.8388608,4194304 result: 0.0183
GMPbench.base.divide result: 349.14
GMPbench.base result: 329
Category app
Program rsa
rsa 512
GMPbench.app.rsa.512 result: 78.5
rsa 1024
GMPbench.app.rsa.1024 result: 12.3
rsa 2048
GMPbench.app.rsa.2048 result: 1.69
GMPbench.app.rsa result: 11.773
GMPbench.app result: 11.773
GMPbench result: 62.236
Greg
More information about the gmp-devel
mailing list