This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Performance measurements
- To: Martin Kahlert <martin dot kahlert at mchp dot siemens dot de>
- Subject: Re: Performance measurements
- From: Jeffrey A Law <law at cygnus dot com>
- Date: Thu, 25 Jun 1998 02:16:34 -0600
- cc: egcs at cygnus dot com, axp-list at redhat dot com
- Reply-To: law at cygnus dot com
In message <199806240851.KAA06049@keksy.mchp.siemens.de>you write:
> Hi,
> i tried to compare different compilers on my numerical code.
> Therefore i extracted a FPU intensive function and surrounded
> it with a loop while measuring the execution time.
>
> I will provide the source and the Makefile at the end of this mail.
>
> I work on a Linux 2.0.34 SMP Kernel (libc5). My hardware is a
> dual Pentium Pro 200MHz system with 128MB RAM.
>
> pgcc is the portland group compiler and
> tcc the free Tendra compiler system
> (from http://alph.dera.gov.uk/TenDRA/)
>
> Here are my results:
> %> make
> pgcc:
> 90.11 MFLOPS
> gcc-2.7.2.1:
> 95.46 MFLOPS
> gcc-without double align:
> 23.52 MFLOPS
> egcs-2.91.42:
> 69.96 MFLOPS
> tcc:
> 92.33 MFLOPS
Here's some more info. PPro200
egcs-1.0.3 69.96
today's sources 70.40
Note I get 73.14 if I remove all the various -malign switches.
Not particularly good. Can someone look into this? It might
be another case of double alignment losing badly. I don't know
x86 issues well enough.
Jeff