gmpbench: Ultra40 Solaris10 Studio11

Jens Elkner jel+iws at iws.cs.uni-magdeburg.de
Sun Apr 8 12:10:55 CEST 2007


Hi,

GMPbench results made on an Sun Ultra 40 (AMD Opteron 245, 2813 MHz)
using Solaris Express (SunOS 5.11 b55b) and Sun Studio11 compiler.
Since Sun as doesn't understand GNU assembler code, Makefiles have been
tweaked before "make" to use gas via gcc to compile asm files, only:

  GAS_FLAGS="-m64"
  gsed -i -e "/^CCAS/ s,cc,gcc," \
    -e "/^  \$(CCAS)/ s,COMPILE_FLAGS),INCLUDES) $GAS_FLAGS," \
    -e "/m4-ccas/ {s,COMPILE_FLAGS),INCLUDES) $GAS_FLAGS,;s,LIBTOOL),LIBTOOL)x,}" \
    mpn/Makefile tests/Makefile
  sed -e 's,^pic_flag=.*,pic_flag="",' libtool >libtoolx

***** GMPbench version 0.1 *****
Using CFLAGS = "-xstrconst -fsimple=1 -xlibmil -xlibmopt -xarch=amd64a -xdepend -xcrossfile -xO4 -I/tmp/_root/usr/include" from your environment
Using CC = "cc" from your environment
Using LIBS = "-L /tmp/_root/usr/lib/amd64 -lgmp" from your environment
Using compilation command: cc -xstrconst -fsimple=1 -xlibmil -xlibmopt -xarch=amd64a -xdepend -xcrossfile -xO4 -I/tmp/_root/usr/include foo.c -o foo -L /tmp/_root/usr/lib/amd64 -lgmp
Using gmp version: 4.2.1
Compiling benchmarks
Running benchmarks
  Category base
    Program multiply
      multiply 128 128
      GMPbench.base.multiply.128,128 result: 25333093
      multiply 512 512
      GMPbench.base.multiply.512,512 result: 6431317
      multiply 8192 8192
      GMPbench.base.multiply.8192,8192 result: 59593
      multiply 131072 131072
      GMPbench.base.multiply.131072,131072 result: 872
      multiply 2097152 2097152
      GMPbench.base.multiply.2097152,2097152 result: 29.3
    GMPbench.base.multiply result: 47743
    Program divide
      divide 8192 32
      GMPbench.base.divide.8192,32 result: 379124
      divide 8192 64
      GMPbench.base.divide.8192,64 result: 377843
      divide 8192 128
      GMPbench.base.divide.8192,128 result: 218834
      divide 8192 4096
      GMPbench.base.divide.8192,4096 result: 101125
      divide 8192 8064
      GMPbench.base.divide.8192,8064 result: 1361193
      divide 131072 8192
      GMPbench.base.divide.131072,8192 result: 2121
      divide 131072 65536
      GMPbench.base.divide.131072,65536 result: 1129
      divide 8388608 4194304
      GMPbench.base.divide.8388608,4194304 result: 2.83
    GMPbench.base.divide result: 20335
  GMPbench.base result: 31159
  Category app
    Program rsa
      rsa 512
      GMPbench.app.rsa.512 result: 12159
      rsa 1024
      GMPbench.app.rsa.1024 result: 2619
      rsa 2048
      GMPbench.app.rsa.2048 result: 387
    GMPbench.app.rsa result: 2309.8
  GMPbench.app result: 2309.8
GMPbench result: 8483.6


Regards,
jens.
-- 
Otto-von-Guericke University     http://www.cs.uni-magdeburg.de/
Department of Computer Science   Geb. 29 R 027, Universitaetsplatz 2
39106 Magdeburg, Germany         Tel: +49 391 67 12768


More information about the gmp-devel mailing list