This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Performance measurements
- To: "EGCS mailing list" <egcs at cygnus dot com>
- Subject: Re: Performance measurements
- From: n dot lee at math dot auckland dot ac dot nz (Nicholas Lee)
- Date: Wed, 01 Jul 1998 08:58:18 GMT
- Organization: Mathematics Department, University of Auckland
- References: <1748.484T1246T11154518@kampsax.k-net.dk>
Just to join the fun: 8)
Stampede 0.79 P(classic)-133, 64 Megs EDO, 512KB L2.
Note pgcc is the pentium optimised version gcc patched against egcs 1.0.3.
One modification to the initial m.c source. Changed PI to M_PI so it
would compile.
sands:~/tmp$ make
pgcc -O6 -o m.pgcc.O6 m.c -lm
pgcc -O2 -malign-double -fomit-frame-pointer -Wall -malign-loops=2
-malign-jumps=2 -malign-functions=2 -o m.pgcc m.c -lm
gcc -O2 -malign-double -fomit-frame-pointer -Wall -malign-loops=2
-malign-jumps=2 -malign-functions=2 -o m.egcs-2.90.29 m.c -lm
gcc -V 2.8.1 -O2 -malign-double -fomit-frame-pointer -Wall -malign-loops=2
-malign-jumps=2 -malign-functions=2 -o m.gcc-2.8.1 m.c -lm
gcc -O3 -fomit-frame-pointer -Wall -malign-loops=2 -malign-jumps=2
-malign-functions=2 -o m.not_aligned m.c -lm
pgcc.O6:
32.84 MFLOPS
pgcc:
29.80 MFLOPS
gcc-2.8.1:
31.82 MFLOPS
gcc-without double align:
32.46 MFLOPS
egcs-2.90.29:
29.72 MFLOPS
==
sands:~/tmp$ gcc -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/pgcc-2.90.29/specs
gcc version pgcc-2.90.29 980515 (egcs-1.0.3 release)
sands:~/tmp$ pgcc -v
Reading specs from /usr/lib/gcc-lib/i586-pc-linux-gnu/pgcc-2.90.29/specs
gcc version pgcc-2.90.29 980515 (egcs-1.0.3 release)
--
"I reserve the right to contradict myself"
n.lee with math.auckland.ac in nz
NO commercial email please! No SPAM for me.