From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 21681 invoked from network); 25 Jun 1998 07:46:59 -0000 Received: from david.siemens.de (192.35.17.14) by mail2.redhat.com with SMTP; 25 Jun 1998 07:46:59 -0000 X-Envelope-Sender-Is: martin.kahlert@mchp.siemens.de (at relayer david.siemens.de) Received: from salomon.mchp.siemens.de (salomon.siemens.de [139.23.33.13]) by david.siemens.de (8.9.0/8.9.0) with ESMTP id JAA06582; Thu, 25 Jun 1998 09:45:48 +0200 (MET DST) Received: from keksy.mchp.siemens.de (kahlert@keksy.mchp.siemens.de [139.23.187.70]) by salomon.mchp.siemens.de (8.8.8/8.8.5) with ESMTP id JAA18599; Thu, 25 Jun 1998 09:46:20 +0200 (MDT) Received: (from kahlert@localhost) by keksy.mchp.siemens.de (8.8.8/8.8.8) id JAA26677; Thu, 25 Jun 1998 09:46:18 +0200 Message-ID: <19980625094618.A26562@keksy.mchp.siemens.de> Date: Thu, 25 Jun 1998 09:46:18 +0200 From: Martin Kahlert To: axp-list@redhat.com Cc: scr@iis.fhg.de, robert@physiol.med.tu-muenchen.de, egcs@cygnus.com Subject: Re: Performance measurements (thanks and conclusion) Reply-To: martin.kahlert@mchp.siemens.de References: <199806240851.KAA06049@keksy.mchp.siemens.de> <3590D5AE.167EB0E7@iis.fhg.de> <19980624124843.A15248@keksy.mchp.siemens.de> <3591031A.2781E494@iis.fhg.de> <19980624170051.21290@haegar.physiol.med.tu-muenchen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i In-Reply-To: <19980624170051.21290@haegar.physiol.med.tu-muenchen.de>; from Robert Wilhelm on Wed, Jun 24, 1998 at 05:00:51PM +0200 Quoting Robert Wilhelm (robert@physiol.med.tu-muenchen.de): > > [Robert: could you please compile my code on your Alpha using > > egcs and report your results to me] > > I get about 275 MFLOPS for my 533MHz 21164a for both egcs 1.0 and > egcs-current with haifa enabled. > > If I use different local variables lfA*, egcs seems to shedule a bit > better and I get 290 MFLOPS. > > Robert I was really overwhelmed with the repsonse to this thread on axp-list. Thanks a lot for all people who tried my source and even tried to get more out of the compilers. I tried both versions on my PPro 200: Stefan Schroepfer's version: pgcc: 85.98 MFLOPS gcc-2.7.2.1: 97.10 MFLOPS gcc-without double align: 95.46 MFLOPS egcs-2.91.42: 84.06 MFLOPS tcc: 17.20 MFLOPS Robert Wilhelm's version: pgcc: 81.62 MFLOPS gcc-2.7.2.1: 98.81 MFLOPS gcc-without double align: 98.81 MFLOPS egcs-2.91.42: 83.44 MFLOPS tcc: 16.44 MFLOPS It seems that tcc is not the fastest and the most reliable under the sun... Can i conclude, that it's a good idea to insert as many local vars as possible to get good results from compilers? Now i have two questions: -Why is it so difficult for gcc to transform the code for(i=0;i