xeon-64bits

Emmanuel Thomé Emmanuel.Thome at inria.fr
Fri Dec 17 18:43:52 CET 2004


gcc 3.4.2
CFLAGS="-O2 -m64 -mtune=nocona" (tune=k8 is on par).
gmp 4.1.4

cpu family      : 15
model           : 4
model name      :                   Intel(R) Xeon(TM) CPU 2.80GHz
stepping        : 1
cpu MHz         : 2793.262
cache size      : 1024 KB


GMPbench result: 2669.7

Full bench attached. This really cannot compare with the opteron (5400
with gcc 3.3.3 at 2.4GHz, no asm either).

E.
-------------- next part --------------
-bash-3.00$ LIBS=/home/thome/nocona/usr/local/lib/libgmp.a CFLAGS="-O2 -m64 -mtune=nocona" ./runbench 
***** GMPbench version 0.1 *****
Using CFLAGS = "-O2 -m64 -mtune=nocona" from your environment
Using default CC = "gcc"
Using LIBS = "/home/thome/nocona/usr/local/lib/libgmp.a" from your environment
Using compilation command: gcc -O2 -m64 -mtune=nocona foo.c -o foo /home/thome/nocona/usr/local/lib/libgmp.a
You may want to override CC, CFLAGS, and LIBS
Using gmp version: 4.1.4
Compiling benchmarks
Running benchmarks
  Category base
    Program multiply
      multiply 128 128
      GMPbench.base.multiply.128,128 result: 15491079
      multiply 512 512
      GMPbench.base.multiply.512,512 result: 1804348
      multiply 8192 8192
      GMPbench.base.multiply.8192,8192 result: 13756
      multiply 131072 131072
      GMPbench.base.multiply.131072,131072 result: 182
      multiply 2097152 2097152
      GMPbench.base.multiply.2097152,2097152 result: 5.99
    GMPbench.base.multiply result: 13319
    Program divide
      divide 8192 32
      GMPbench.base.divide.8192,32 result: 288763
      divide 8192 64
      GMPbench.base.divide.8192,64 result: 397218
      divide 8192 128
      GMPbench.base.divide.8192,128 result: 186625
      divide 8192 4096
      GMPbench.base.divide.8192,4096 result: 26331
      divide 8192 8064
      GMPbench.base.divide.8192,8064 result: 368590
      divide 131072 8192
      GMPbench.base.divide.131072,8192 result: 559
      divide 131072 65536
      GMPbench.base.divide.131072,65536 result: 267
      divide 8388608 4194304
      GMPbench.base.divide.8388608,4194304 result: 0.612
    GMPbench.base.divide result: 8124.2
  GMPbench.base result: 10402
  Category app
    Program rsa
      rsa 512
      GMPbench.app.rsa.512 result: 4151
      rsa 1024
      GMPbench.app.rsa.1024 result: 745
      rsa 2048
      GMPbench.app.rsa.2048 result: 104
    GMPbench.app.rsa result: 685.14
  GMPbench.app result: 685.14
GMPbench result: 2669.7


More information about the gmp-discuss mailing list