Index of /archives/NetBSD/NetBSD-release-9/src/external/lgpl3/mpfr/dist/tools/bench
Name Last modified Size Description
Parent Directory -
CVS/ 2024-02-15 03:49 -
Makefile.am 2018-09-04 14:02 705
Makefile.in 2018-09-04 14:02 18K
README 2018-09-04 14:02 962
benchtime.h 2018-09-04 14:02 3.4K
mpfrbench.c 2018-09-04 14:02 9.5K
To compile mpfrbench, simply do:
$ make mpfrbench
To run it:
$ ./mpfrbench
On a typical computer, it should take around 12 minutes. The final output
looks like (here on a Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz with
GCC 4.9.3, and --with-gmp-build=gmp-6.0.0), svn revision 9669:
GMP : 6.0.0 MPFR : 3.2.0-dev
GMP compiler : gcc -std=gnu99
GMP flags : -O2 -pedantic -fomit-frame-pointer -m64 -mtune=core2 -march=core2
score for mul : 1434798
score for add : 6419546
score for sub : 6228906
score for div : 698843
group score Arith : 2516353
score for sqrt : 550492
score for exp : 26517
score for log : 20034
score for cos : 28853
score for sin : 23044
score for acos : 7639
score for asin : 8010
group score Special : 27501
global score : 1076