From: "Wes Bauske" <wsb@paralleldata.com>
To: axp-list@redhat.com
Subject: Re: Why Alpha? (aka: is it worth it?)
Date: Sun, 24 Jan 1999 05:36:24 +0000 [thread overview]
Message-ID: <36AAB158.7FFA8C1E@paralleldata.com> (raw)
In-Reply-To: 199901240309.TAA15579@netcom19.netcom.com
Munagala V. S. Ramanath wrote:
>
> > Michal Jaegermann wrote:
> > >
> > > Munagala V. S. Ramanath wrote:
> > > >
> > > > There was one guy who posted here a few weeks ago about running
> > > > a loop which simply computed sqrt(). The 450MHz Pentium II
> > > > outperformed the 533MHz Alpha.
> > >
> > > Big deal! Pentium has sqrt in silicon while Alpha, as RISC, in an
> > > external library.
> >
> > Multiple RISC implementations have sqrt() in silicon.
> > It can improve performance significantly just by not
> > having the function call overhead.
>
> I'm just curious about areas where the PII outperforms the higher
> clocked Alphas and what the reasons might be. Is it possible that
> a tightly hand-coded inlined sqrt() on the Alpha could beat the
> PII ? After all, the higher clock speed should mean something ...
>
Not many people have that little piece of code you describe.
This is somewhat what I do though in my own code. I implement
a sqrt() as a table lookup plus twiddle so I don't have to
rely on anyone's sqrt() function call. What I do is not good
to the ULP (unit of least precision, ie., last bit),
but good enough for my algorithm. It is also faster than any
silicon implementation I know of. Doing that sort of thing
requires a good understanding of how your algorithm works.
Anyway, my code is about twice as fast on a 533LX vs a PII400.
I think PII can outperform Alpha on transcendentals and divide.
Watch how you use those and you'll have fast code in general,
not just Alphas. Note I use mainly FP calculations, very little
is integer in the kernels I worry about performance on.
Wes
next prev parent reply other threads:[~1999-01-24 5:01 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-01-24 3:09 Why Alpha? (aka: is it worth it?) Munagala V. S. Ramanath
1999-01-24 5:36 ` Wes Bauske [this message]
-- strict thread matches above, loose matches on Subject: below --
1999-01-26 19:06 Re:Why Alpha ? (aka:is it worth it ?) Luigi Cavallo
1999-01-26 19:29 ` Why " Wes Bauske
1999-01-24 16:19 Why Alpha? (aka: is it worth it?) Munagala V. S. Ramanath
1999-01-24 19:43 ` Wes Bauske
1999-01-25 1:38 ` Daniel J. Frasnelli
1999-01-23 23:51 Munagala V. S. Ramanath
1999-01-24 0:06 ` Michal Jaegermann
1999-01-24 0:22 ` Daniel J. Frasnelli
1999-01-24 2:58 ` Wes Bauske
1999-01-24 2:11 ` Rich Payne
1999-01-23 21:49 Adam Wiggins
1999-01-23 22:13 ` warp
1999-01-23 22:18 ` Andrei A. Dergatchev
1999-01-23 22:38 ` Daniel J. Frasnelli
1999-01-24 7:31 ` norvierk
1999-01-25 14:39 ` Adam C. Powell, IV
1999-01-25 17:07 ` Daniel J. Frasnelli
1999-01-25 17:56 ` Adam C. Powell, IV
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