public
Created

  • Download Gist
dhrystone2.1-microvax-ii.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60
git://github.com/Keith-S-Thompson/dhrystone.git
 
v2.1
 
Running on MicroVAX II
$ uname -a
NetBSD mvii 1.4.1 NetBSD 1.4.1 (GENERIC) #13: Fri Aug 13 05:35:08 PDT 1999 root@futplex:/usr/src/sys/arch/vax/compile/GENERIC vax
$ cc -v
Using builtin specs.
gcc version egcs-2.91.60 19981201 (egcs-1.1.1 release)
 
 
$ make
cc dhrystone.c -o dhrystone
Running dhrystone (Level 1 optimization, without registers)
./dhrystone
Dhrystone(1.1) time for 50000 passes = 39
This machine benchmarks at 1260 dhrystones/second
./dhrystone
Dhrystone(1.1) time for 50000 passes = 39
This machine benchmarks at 1259 dhrystones/second
./dhrystone
Dhrystone(1.1) time for 50000 passes = 39
This machine benchmarks at 1261 dhrystones/second
 
cc -DREG=register dhrystone.c -o dhrystoneR
Running dhrystone (Level 1 optimization, with registers)
./dhrystoneR
Dhrystone(1.1) time for 50000 passes = 37
This machine benchmarks at 1342 dhrystones/second
./dhrystoneR
Dhrystone(1.1) time for 50000 passes = 37
This machine benchmarks at 1343 dhrystones/second
./dhrystoneR
Dhrystone(1.1) time for 50000 passes = 37
This machine benchmarks at 1341 dhrystones/second
 
cc -O dhrystone.c -o dhrystoneO
Running dhrystone (Level 2 optimization, without registers)
./dhrystoneO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1874 dhrystones/second
./dhrystoneO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1873 dhrystones/second
./dhrystoneO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1872 dhrystones/second
 
cc -O -DREG=register dhrystone.c -o dhrystoneRO
Running dhrystone (Level 2 optimization, with registers)
./dhrystoneRO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1873 dhrystones/second
./dhrystoneRO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1874 dhrystones/second
./dhrystoneRO
Dhrystone(1.1) time for 50000 passes = 26
This machine benchmarks at 1874 dhrystones/second

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.