Dhrystone 2.1 and 1.1 MIPS Results (Language: C).

The Dhrystone programs are by Reinhold Weicker. His email address is: Reinhold.Weicker@stm.mchp.sni.de

The Dhrystone C Programs (dhry.tar.Z.uue, or dhry.shar), and latest table of results (dhry.tbl) are available via anonymous ftp from 'marlin.nosc.mil' in directory 'pub/aburto'. The 'marlin' host number is: 128.49.4.4 . Please send new results (systems, machines, compilers, compiler options) to 'aburto@marlin.nosc.mil'. I will keep results updated, post to 'comp.benchmarks' periodically, and send results to Reinhold Weicker. Please read the 'README.1ST' file first for information regarding running the programs and submitting results. If you need the individual files please send email to aburto@marlin.nosc.mil .

The VAX 11/780 MIPS reference is 1757 V1.1 Dhrystones/second. The VAX 11/780 MIPS reference is 1757 V2.1 Dhrystones/second.

I used the same VAX 11/780 MIPS reference (1757) for both V1.1 and V2.1 since the results for unoptimized code in general were very similar, if not identical, in this case.

Reinhold Weicker recommended that both V1.1 and V2.1 MIPS results be collected as this would give a reference on how much more V1.1 can be optimized relative to V2.1. When quoting Dhrystone VAX MIPS ratings it is preferrable to use the V2.1 numbers. Reinhold Weicker has asked me to add the following statement: "Dhrystone author says: Relying on MIPS V1.1 numbers can be hazardous to your professional health" ...

Some compiler results which appear 'too high' compared to other compiler results on the same machine are indicated by an '*' --- just my way of keeping track of exceptional results from certain compilers.

Results as of 06 Sep 1993.

Notes: ------ 001 Compiler/Options Unknown 002 Compiler/Options Unknown 003 Compiler/Options Unknown 004 Compiler/Options Unknown 005 Compiler/Options Unknown 006 GEM C, GEM C appears to break V1.1 ... 007 cc -DUNIX 008 Dhrystone V1.1: cc -J +O3, Dhrystone V2.0: cc -J +O3 -Wl,-aarchive 009 HP92453-01 A.09.19, cc -DUNIX -J +O3 -Wl,-a,archive 010 HP92453-01 A.09.19, cc -DUNIX -J +O3 011 Intel Pentium Processor Performance Brief, Release 1.0, March 1993 012 HP92453-01 A.09.19, cc -DUNIX +O3 013 cc -DUNIX -O 014 Metaware High C with '-pentium' and '-O4' options, 8 MB 64-bit RAM 015 Intel Pentium Processor Performance Brief, Release 1.0, March 1993 016 Dhrystone V1.1: cc -J +O3, Dhrystone V2.0: cc -J +O3 -Wl,-aarchive 017 Dhrystone V1.1: cc -J +O3, Dhrystone V2.0: cc -J +O3 -Wl,-aarchive 018 cc +OS +O3 019 cc -DUNIX -O -Q 020 gcc 2.4.5, gcc -DUNIX -static -O2 -mv8 021 Dhrystone V1.1: cc -J +O3, Dhrystone V2.0: cc -J +O3 -Wl,-aarchive 022 cc -DUNIX -O 023 HP92453-01 A.09.19, cc -DUNIX 024 gcc 2.4.5, gcc -DUNIX -static -O2 -mv8 025 Dhrystone V1.1: cc -J +O3, Dhrystone V2.0: cc -J +O3 -Wl,-aarchive 026 Dhrystone V1.1: cc -J +O3, Dhrystone V2.0: cc -J +O3 -Wl,-aarchive 027 Intel Pentium Processor Performance Brief, Release 1.0, March 1993 028 SC 2.0.1, acc -DUNIX -Bstatic -fast -O4 029 cc -DUNIX -O 030 SC 2.0.1, acc -DUNIX -Bstatic -fast -O4 031 cc -DUNIX -DROPT -O3 032 Sun C 1.0, using cg89, cc -DUNIX -DROPT -fast -O4 -Bstatic 033 cc -DUNIX -DROPT -Bstatic -O4 034 Sun C 1.0, using cg89, cc -DUNIX -fast -O4 035 Sun C 1.0, using cg89, cc -DUNIX -O 036 gcc 2.4.5, gcc -DUNIX -static -O2 -mv8 -funroll-all-loops 037 cc -DUNIX -O 038 Dhrystone V1.1: cc -J +O3, Dhrystone V2.0: cc -J +O3 -Wl,-aarchive 039 Dhrystone V1.1: cc -J +O3, Dhrystone V2.0: cc -J +O3 -Wl,-aarchive 040 gcc 2.4.5, gcc -DUNIX -static -O2 -mv8 041 Metaware High C with '-486' and '-O4' options, 8 MB 64-bit RAM 042 cc -DUNIX -O -Q 043 Compiler/Options Unknown 044 gcc 2.3.3, gcc -DUNIX -m486 -O6 -fomit-frame-pointer -Wall 045 gcc 2.3.3, gcc -DUNIX -m486 -O6 -finline-functions -funroll-all-loops 046 cc -DUNIX -O4 047 cc -DUNIX 048 Watcom C32 9.5LA, Options: -oeatx -zp4, MSC timer, -oe == inline This compiler appears to do quite well in optimizing Dhrystone. 049 gcc 2.4.5, gcc -DUNIX -static -O2 050 SC 2.0.1, acc -DUNIX -Bstatic -fast -O4 051 cc -DUNIX -O3 052 gcc 2.3.3, gcc -DUNIX -O1 053 gcc 2.3.3, gcc -DUNIX -O2 054 Intel Pentium Processor Performance Brief, Release 1.0, March 1993 055 Compiler/Options Unknown 056 cc -DUNIX -O4 -Bstatic 057 gcc 2.2.2, gcc -DUNIX -m486 -O -finline-functions -fomit-frame-pointer 058 gcc 2.2.2, gcc -DUNIX -DROPT -m486 -O2 -finline-functions -fomit-frame-pointer 059 gcc 2.2.2, gcc -DUNIX -DROPT -m486 -O -finline-functions -fomit-frame-pointer 060 Watcom C32 9.5LA, Options: -oatx -zp4, MSC timer This compiler appears to do quite well in optimizing Dhrystone. 061 gcc 2.2.2, gcc -DUNIX -m486 -O -finline-functions -fexpensive-optimizations 062 Sun C 1.0, cc -DUNIX -Bstatic -O4 063 IBM C Set/2 V1.0, CSD Level 50, icc /G4 /O+ /Gs+ /DMSC /DROPT, 256KB SRAM external cache, 16MB RAM. 064 cc -DUNIX -O2 065 IBM C Set/2 V1.0, CSD Level CS00042, /DMSC /DROPT /G4 /O+ /C+, 256KB SRAM external cache, 16MB RAM. 066 cc -DUNIX -O4 -Bstatic 067 Compiler/Options Unknown 068 COmpiler/Options Unknown 069 SAS C 6.2, global & peephole optimizers & Inline enabled. 070 cc -DUNIX -O4 071 cc -DUNIX -O 072 Compiler/Options Unknown 073 SAS C 6.2, global & peephole optimizers enabled. 074 gcc 2.3.1, gcc -O 075 cc -DUNIX -O1 076 gcc 1.93, gcc -O 077 SAS/C 6.2, global and peephole optimizers enabled. 078 gcc 2.2.2, gcc -DUNIX -DROPT -m486 -O -finline-functions -fomit-frame-pointer 079 gcc 2.2.2, gcc -DUNIX -m486 -O -finline-functions -fomit-frame-pointer 080 gcc 2.3.3, gcc -DUNIX -m486 -O2 -finline-functions -funroll-all-loops -fstrength-reduce 081 gcc 2.2.2, gcc -DUNIX -DROPT -m486 -O2 -finline-functions -fomit-frame-pointer 082 gcc 2.3.3, gcc -DUNIX -O -static 083 gcc 2.3.3, gcc -DUNIX -O2 084 gcc 2.2.2, gcc -DUNIX -m486 -O2 -finline-functions -fomit-frame-pointer 085 gcc 2.2.2, gcc -DUNIX -m486 -O2 -finline-functions -funroll-loops -fomit-frame-pointer 086 gcc 2.3.3, gcc -DUNIX -m486 -O2 087 gcc 2.3.3, gcc -DUNIX -O 088 gcc 2.2.2, gcc -DUNIX -DROPT -m486 -finline-functions -fstrength-reduce -fomit-frame-pointer 089 gcc 2.2.2, gcc -DUNIX -m486 090 gcc 2.3.3, gcc -DUNIX -m486 -O -finline-functions -fstrength-reduce -fomit-frame-pointer 091 gcc 2.2.2, gcc -DUNIX -m486 -finline-functions -O2 092 gcc 2.2.2, gcc -DUNIX -m486 -finline-functions -O 093 gcc 2.2.2, gcc -DUNIX -m486 -O 094 gcc 2.2.2, gcc -DUNIX -DROPT -m486 -O 095 gcc 2.2.2, gcc -DUNIX -DROPT -m486 -O2 096 gcc 2.3.3, gcc -DUNIX -Bstatic -O 097 gcc 2.3.3, gcc -DUNIX -O 098 Compiler/Options Unknown 099 cc -DUNIX -O4 -Bstatic 100 Compiler/Options Unknown 101 gcc 2.2.2, gcc -DUNIX -m486 -finline-functions -fstrength-reduce -fomit-frame-pointer 102 cc -DUNIX -O 103 gcc 2.2.2, gcc -DUNIX -m486 104 gcc 2.2.2, gcc -DUNIX -DROPT -m486 105 gcc 2.2.2, gcc -DUNIX -m486 106 gcc 2.2.2, gcc -DUNIX -DROPT 107 gcc 2.2.2, gcc -DUNIX 108 Sun C 1.0, cc -DUNIX -fast -O4 -Bstatic 109 cc -DUNIX 110 cc -DUNIX 111 gcc 1.37.1, gcc -DUNIX -O 112 cc -DUNIX 113 cc -DUNIX -O 114 cc -DUNIX 115 gcc 2.4.5, gcc -DUNIX -O2 -finline-functions -funroll-loops -lgcc -DROPT -freg-struct-return 116 Aztec C 5.0a, cc -dAmiga -c2 -fm -sabfmnpr Not a great optimizing compiler ('-s' options) since a 'hand' optimized version of the assembly code produced 7.7 V1.1 MIPS. 117 Aztec C 5.0a, cc -dAmiga -dROPT -c2 -fm -sabfmnpu 118 Aztec C 5.0a, cc -dAmiga -c2 -fm -me

--- REF: 1 Al Aburto, aburto@marlin.nosc.mil, 03 Jan 1993 2 Bill Broadley, broadley@neurocog.lrdc.pitt.edu, 07 Jan 1993 3 Roger Uzun, uzun@crash.cts.com, 23 Jan 1993 4 Clark L. Coleman, clc5q@virginia.edu, 19 Feb 1993 HP Apollo 9000 Series 700 Perfromance Brief, November 1992 5 Bob Supnik, Supnik@human.enet.dec.com, 20 Feb 1993 Alpha AXP Server Family, Performance Brief - OpenVMS, 20 Nov 1992, Second Edition, EB-N0104-51 6 Huub van Baal, huubb@neth.hp.com, 21 Feb 1993 7 Huub van Baal, huubb@neth.hp.com, 23 Feb 1993 8 Al Aburto, aburto@marlin.nosc.mil, 01 Mar 1993 9 Marc GINGOLD, marc@tobit.saclay.cea.fr, 05 Mar 1993 10 Eric S. Boltz, eboltz@nist.gov, 05 Mar 1993 11 Simon Gornall, sjg@phlim.ph.kcl.ac.uk, 09 Mar 1993 12 Andrew Mutz, mutz@kodak.com, 15 Mar 1993 13 Paul Sutcliffe Jr., paul@devon.lns.pa.us, 15 Mar 1993 14 P. Jeffrey Ungar, ungar@embezzle.stanford.edu, 16 Mar 1993 15 Fred Liu, mliu@pt.com, 20 Mar 1993 PT-SYS5K is a SPARC system designed for real time application. 16 Al Aburto, aburto@marlin.nosc.mil, 22 Mar 1993 17 John E. Stone, johns@cs.umr.edu, 22 Mar 1993 18 Mario A. Guerra, mguerra@inforisc.cr, 01 Apr 1993 19 Benno Senoner, senoner@ghost.sm.dsi.unimi.it, 02 Apr 1993 20 Peter Valkenburg, valke@cca.vu.nl, 15 Apr 1993 21 Maurice Janssen, mhmj@chem.vu.nl, 16 Apr 1993 22 Benno Senoner, senoner@ghost.sm.dsi.unimi.it, 28 Apr 1993 23 Burkhard Neidecker-Lutz, neideck@nestvx.enet.dec.com, 18 May 1993 24 Dana Jacobsen, jacobsd@solar.cor2.epa.gov, 14 Jul 1993 25 Michael Chapman, mike@hopper.acs.virginia.edu, 23 Jul 1993 26 John E. Stone, johns@cs.umr.edu, 27 Jul 1993 27 Roger Uzun, uzun@crash.cts.com, 19 Aug 1993 28 Al Aburto, aburto@marlin.nosc.mil, 06 Sep 1993