Subject: Some gcc-2.7.2/Pentium-benchmarks
To: None <current-users@NetBSD.ORG>
From: Martin Cracauer <cracauer@wavehh.hanse.de>
List: current-users
Date: 12/11/1995 08:42:06
We talked about the pentium optimization. Here are some numbers.

The application is a double-based market research analysis without
higher mathematics.

gcc -w -O -o l l.c -lm
      357.22 real       352.85 user         0.80 sys                           
      355.93 real       352.89 user         0.62 sys                           
gcc -w -O -malign-double -o l l.c -lm
      355.06 real       352.11 user         0.57 sys                           
      355.14 real       352.29 user         0.65 sys                           
gcc -w -O1 -o l l.c -lm
      355.79 real       352.75 user         0.62 sys                           
      355.81 real       352.83 user         0.65 sys                           
gcc -w -O1 -malign-double -o l l.c -lm
      355.08 real       352.04 user         0.69 sys                           
      355.01 real       352.00 user         0.63 sys                           
gcc -w -O2 -o l l.c -lm
      351.21 real       348.12 user         0.70 sys                           
      351.12 real       348.13 user         0.66 sys                           
gcc -w -O2 -malign-double -o l l.c -lm
      350.58 real       347.54 user         0.66 sys                           
      350.36 real       347.32 user         0.65 sys                           
gcc -w -O6 -o l l.c -lm
      326.82 real       323.55 user         0.66 sys                           
      326.36 real       323.43 user         0.69 sys                           
gcc -w -O6 -malign-double -o l l.c -lm
      324.40 real       321.40 user         0.68 sys                           
      324.39 real       321.51 user         0.65 sys                           

gcc -ffast-math -w -O -o l l.c -lm
      356.23 real       352.87 user         0.75 sys                           
      355.98 real       353.07 user         0.63 sys                           
gcc -finline-functions -w -O -o l l.c -lm
      331.11 real       328.08 user         0.68 sys                           
      331.07 real       328.15 user         0.70 sys                           
gcc -fomit-frame-pointer -w -O -o l l.c -lm
      348.06 real       344.95 user         0.68 sys                           
      347.80 real       344.91 user         0.66 sys                           
gcc -finline-functions -fomit-frame-pointer -ffast-math -w -O -o l l.c -lm
      331.03 real       327.93 user         0.68 sys                           
      330.89 real       328.07 user         0.63 sys                           
gcc -ffast-math -w -O -malign-double -o l l.c -lm
      355.31 real       352.20 user         0.75 sys                           
      355.05 real       352.19 user         0.68 sys                           
gcc -finline-functions -w -O -malign-double -o l l.c -lm
      328.18 real       325.11 user         0.61 sys                           
      328.01 real       325.15 user         0.65 sys                           
gcc -fomit-frame-pointer -w -O -malign-double -o l l.c -lm
      345.95 real       342.78 user         0.72 sys                           
      345.71 real       342.98 user         0.57 sys                           
gcc -finline-functions -fomit-frame-pointer -ffast-math -w -O -malign-double -o l l.c -lm
      328.50 real       325.47 user         0.67 sys                           
      328.29 real       325.58 user         0.59 sys                           
gcc -ffast-math -w -O6 -o l l.c -lm
      326.37 real       323.43 user         0.57 sys                           
      326.15 real       323.27 user         0.71 sys                           
gcc -finline-functions -w -O6 -o l l.c -lm
      326.43 real       323.48 user         0.62 sys                           
      326.42 real       323.53 user         0.64 sys                           
gcc -fomit-frame-pointer -w -O6 -o l l.c -lm
      326.58 real       323.61 user         0.62 sys                           
      326.06 real       323.30 user         0.66 sys                           
gcc -finline-functions -fomit-frame-pointer -ffast-math -w -O6 -o l l.c -lm
      326.48 real       323.60 user         0.63 sys                           
      326.49 real       323.74 user         0.57 sys                           
gcc -ffast-math -w -O6 -malign-double -o l l.c -lm
      324.21 real       321.22 user         0.66 sys                           
      324.13 real       321.18 user         0.67 sys                           
gcc -finline-functions -w -O6 -malign-double -o l l.c -lm
      324.60 real       321.63 user         0.70 sys                           
      324.03 real       321.17 user         0.59 sys                           
gcc -fomit-frame-pointer -w -O6 -malign-double -o l l.c -lm
      323.94 real       321.09 user         0.60 sys                           
      323.40 real       320.59 user         0.64 sys                           
gcc -finline-functions -fomit-frame-pointer -ffast-math -w -O6 -malign-double -o l l.c -lm
      324.06 real       321.03 user         0.67 sys                           
      324.09 real       321.29 user         0.65 sys