Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.