Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Robert Wilhelm <robert@physiol.med.tu-muenchen.de>
To: Stefan Schroepfer <scr@iis.fhg.de>
Cc: axp-list@redhat.com, martin.kahlert@mchp.siemens.de
Subject: Re: Performance measurements
Date: Wed, 24 Jun 1998 17:00:51 +0200	[thread overview]
Message-ID: <19980624170051.21290@haegar.physiol.med.tu-muenchen.de> (raw)
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;


  reply	other threads:[~1998-06-24 15:01 UTC|newest]

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-06-24  8:51 Performance measurements Martin Kahlert
1998-06-24  9:34 ` Robert Wilhelm
1998-06-24 19:54   ` Xsuse (Gloria X Server) Gavin
1998-06-24 20:50     ` B. James Phillippe
1998-06-24 23:29       ` Chris Ingrassia
1998-06-24 10:32 ` Performance measurements Stefan Schroepfer
1998-06-24 10:48   ` Martin Kahlert
1998-06-24 11:06     ` Martin Høy
1998-06-24 13:46     ` Stefan Schroepfer
1998-06-24 15:00       ` Robert Wilhelm [this message]
1998-06-24 15:16         ` Stefan Schroepfer
1998-06-25  7:46         ` Performance measurements (thanks and conclusion) Martin Kahlert
1998-06-24 15:25       ` Performance measurements Fabio Perroni
1998-06-24 15:28     ` Jeff Sturm
1998-06-24 15:59       ` Christopher C Chimelis
1998-06-24 17:19         ` Jeff Sturm
1998-06-24 18:12           ` Christopher C Chimelis
1998-06-24 19:05             ` Jeff Sturm
1998-06-24 20:38             ` Wes Bauske
1998-06-24 22:30               ` Jeff Sturm
1998-06-25  1:42               ` Richard Henderson
1998-06-25  1:48             ` Richard Henderson
1998-06-25 14:00               ` Jeff Sturm
1998-06-25 16:17                 ` Richard Henderson
1998-06-27 14:30             ` Volker Barthelmann
1998-06-28 16:41               ` Jeff Sturm
1998-06-28 23:01                 ` Volker Barthelmann
1998-06-29 18:11                   ` Jim Paradis
1998-06-29  5:14                 ` jrp
1998-06-24 16:05       ` Stefan Schroepfer
1998-06-24 16:58     ` Wes Bauske
1998-06-24 15:49 ` David S. Miller
     [not found] ` <Pine.GSO.3.96.980624190510.27225p-100000@markab.dbai.tuwien.ac.at>
1998-06-25  7:59   ` Martin Kahlert
1998-06-26  1:26 ` Ryan Kirkpatrick
1998-06-26 14:45   ` Chris Ingrassia
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox