From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 32024 invoked from network); 24 Jun 1998 15:01:18 -0000 Received: from sunsrv5.lrz-muenchen.de (129.187.13.15) by mail2.redhat.com with SMTP; 24 Jun 1998 15:01:18 -0000 Return-Path: Received: from [141.39.129.2] by sunsrv5.lrz-muenchen.de; Wed, 24 Jun 98 17:00:52 +0200 Received: (from robert@localhost) by dns.physiol.med.tu-muenchen.de (8.8.5/8.7.3) id RAA07219; Wed, 24 Jun 1998 17:00:51 +0200 Message-ID: <19980624170051.21290@haegar.physiol.med.tu-muenchen.de> Date: Wed, 24 Jun 1998 17:00:51 +0200 From: Robert Wilhelm To: Stefan Schroepfer Cc: axp-list@redhat.com, martin.kahlert@mchp.siemens.de Subject: Re: Performance measurements References: <199806240851.KAA06049@keksy.mchp.siemens.de> <3590D5AE.167EB0E7@iis.fhg.de> <19980624124843.A15248@keksy.mchp.siemens.de> <3591031A.2781E494@iis.fhg.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84 In-Reply-To: <3591031A.2781E494@iis.fhg.de>; from Stefan Schroepfer on Wed, Jun 24, 1998 at 03:46:02PM +0200 > [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 --- f2.c Wed Jun 24 15:49:05 1998 +++ f3.c Wed Jun 24 16:29:05 1998 @@ -17,7 +17,7 @@ int i,j; double *wksph=wksp+n/2; double lfT1, lfT2; - double lfA0, lfA1; + double lfA0, lfA1, lfA2, lfA3, lfA4, lfA5; if(n<6) return; @@ -28,12 +28,12 @@ lfA0 = a[j]; lfA1 = a[j+1]; lfT1 = c0*lfA0 + c1*lfA1; lfT2 = c5*lfA0 - c4*lfA1; - lfA0 = a[j+2]; lfA1 = a[j+3]; - lfT1 += c2*lfA0 + c3*lfA1; - lfT2 += c3*lfA0 - c2*lfA1; - lfA0 = a[j+4]; lfA1 = a[j+5]; - lfT1 += c4*lfA0 + c5*lfA1; - lfT2 += c1*lfA0 - c0*lfA1; + lfA2 = a[j+2]; lfA3 = a[j+3]; + lfT1 += c2*lfA2 + c3*lfA3; + lfT2 += c3*lfA2 - c2*lfA3; + lfA4 = a[j+4]; lfA5 = a[j+5]; + lfT1 += c4*lfA4 + c5*lfA5; + lfT2 += c1*lfA4 - c0*lfA5; wksph[i] = lfT1; wksp[i] = lfT2;