Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: henley <henley@tonys.ecology.umn.edu>
Subject: Re: A portable benchmark for ANSI C compilers, Windows NT and MPP supercomputers.
Date: 1997/03/12	[thread overview]
Message-ID: <3326CBA9.4BC@tonys.ecology.umn.edu> (raw)
In-Reply-To: 5g66uh$b6r@news-rocq.inria.fr


Robert Harley wrote:
> 
> With the new arithmetic functions (emailed to Henley) the figures are:
> 
> 266MHz Alpha:   101 Mflops
> 500MHz Alpha:   177 Mflops

And another one:

333MHz Alpha: 113 Mflops (i.e., about the same as the dual ppro)

I am still waiting for others to send me their results (hint, hint!)

Are there any pentium [pro] experts out there? We need you, our
dual pentium pro has been edged out slightly by the 333MHz alpha, and
looks silly compared to the 500MHz beast! Have a look at the routine
below, and tell me if you can get it to run faster. We should
try to stick with C code, so that it remains portable. But, hey,
if you would like to throw some inline assembly my way, I won't
complain! You will get credit in this public domain code...
(Any ideas to make this go faster on any other CPU would also
be greatly appreciated, although Rob Harley's version is a good
deal faster on an Alpha)

In the meantime, I will work some more on the NT specific stuff,
to try reduce some of the overhead. On a 6^4 lattice, using dual
CPUs makes an almost 100% improvement in speed, but not so 
for the 8^4 case.

Anyone have a dual 500MHz Alpha running NT?? heh...

void calc_UdagV(const float *src_U, const float *src_V, float *dest_V)
{
  int index;

  for (index=0; index<sl_node_vol; index++)
  {
    dest_V[0] = src_U[3*0+0]*src_V[0] + src_U[3*0+0+9]*src_V[0+3]+
                src_U[3*1+0]*src_V[1] + src_U[3*1+0+9]*src_V[1+3]+
                src_U[3*2+0]*src_V[2] + src_U[3*2+0+9]*src_V[2+3];

    dest_V[1] = src_U[3*0+1]*src_V[0] + src_U[3*0+1+9]*src_V[0+3]+
                src_U[3*1+1]*src_V[1] + src_U[3*1+1+9]*src_V[1+3]+
                src_U[3*2+1]*src_V[2] + src_U[3*2+1+9]*src_V[2+3];

    dest_V[2] = src_U[3*0+2]*src_V[0] + src_U[3*0+2+9]*src_V[0+3]+
                src_U[3*1+2]*src_V[1] + src_U[3*1+2+9]*src_V[1+3]+
                src_U[3*2+2]*src_V[2] + src_U[3*2+2+9]*src_V[2+3];

    dest_V[0+3] = src_U[3*0+0]*src_V[0+3] - src_U[3*0+0+9]*src_V[0]+
                  src_U[3*1+0]*src_V[1+3] - src_U[3*1+0+9]*src_V[1]+
                  src_U[3*2+0]*src_V[2+3] - src_U[3*2+0+9]*src_V[2];

    dest_V[1+3] = src_U[3*0+1]*src_V[0+3] - src_U[3*0+1+9]*src_V[0]+
                  src_U[3*1+1]*src_V[1+3] - src_U[3*1+1+9]*src_V[1]+
                  src_U[3*2+1]*src_V[2+3] - src_U[3*2+1+9]*src_V[2];

    dest_V[2+3] = src_U[3*0+2]*src_V[0+3] - src_U[3*0+2+9]*src_V[0]+
                  src_U[3*1+2]*src_V[1+3] - src_U[3*1+2+9]*src_V[1]+
                  src_U[3*2+2]*src_V[2+3] - src_U[3*2+2+9]*src_V[2];

    src_U += SU3_MATRIX_SIZE; 
    src_V += SU3_VECTOR_SIZE;  
    dest_V += SU3_VECTOR_SIZE;
  }

}

p.s. SU3_MATRIX_SIZE is 18, and SU3_VECTOR_SIZE is 6



  reply	other threads:[~1997-03-12  5:00 UTC|newest]

Thread overview: 41+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1997-03-12  5:00 A portable benchmark for ANSI C compilers, Windows NT and MPP supercomputers Robert Harley
1997-03-12  5:00 ` henley [this message]
1997-03-13  5:00   ` Loesche
1997-03-15  5:00     ` Martin T. Griffin
1997-03-16  5:00 ` A portable benchmark for ANSI C compilers, Windows NT and MPP , supercomputers Paul Repacholi (prep)
1997-03-16  5:00   ` henley
1997-03-17  5:00     ` Ben Myers
  -- strict thread matches above, loose matches on Subject: below --
1997-03-10  5:00 A portable benchmark for ANSI C compilers, Windows NT and MPP supercomputers Robert Harley
1997-03-10  5:00 ` henley
1997-03-11  5:00   ` dick'circle-a'buckosoft'dot'com
1997-03-11  5:00   ` Peter Mayne
1997-03-10  5:00     ` H.W. Stockman
1997-03-12  5:00       ` Peter Mayne
1997-03-10  5:00 ` H.W. Stockman
1997-03-10  5:00 ` henley
1997-03-11  5:00   ` henley
1997-03-12  5:00     ` henley
1997-03-12  5:00     ` Chris Ruemmler
1997-03-13  5:00       ` Paul DeMone
1997-03-14  5:00         ` Chris Ruemmler
1997-03-14  5:00           ` Paul DeMone
1997-03-14  5:00       ` Peter Mayne
1997-03-14  5:00         ` Chris Ruemmler
1997-03-14  5:00           ` H.W. Stockman
1997-03-14  5:00         ` William J. Burlingame
1997-03-14  5:00     ` Charles Hedrick
1997-03-13  5:00 ` Geoffrey Welsh
1997-03-15  5:00 ` henley
     [not found]   ` <332b221b.1501158@news.jussieu.fr>
1997-03-16  5:00     ` henley
1997-03-15  5:00 ` Achim Gratz
1997-03-16  5:00 ` henley
1997-03-16  5:00 ` henley
1997-03-17  5:00 ` Paul DeMone
1997-03-17  5:00 ` henley
1997-03-17  5:00 ` Peter Mayne
1997-03-17  5:00 ` Achim Gratz
1997-03-06  5:00 henley
1997-03-09  5:00 ` Zlatko Calusic
1997-03-09  5:00   ` henley
1997-03-11  5:00     ` Mike Greaves
1997-03-26  5:00       ` James Mansion
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