From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeffrey A Law To: Martin Kahlert Cc: egcs@cygnus.com, axp-list@redhat.com Subject: Re: Performance measurements Date: Thu, 25 Jun 1998 03:09:00 -0000 Message-id: <27446.898762594@hurl.cygnus.com> References: <199806240851.KAA06049@keksy.mchp.siemens.de> X-SW-Source: 1998-06/msg00894.html 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