Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
Subject: Re: Perf. of F77 on Alpha
Date: Thu, 13 Nov 1997 12:52:07 -0700 (MST)	[thread overview]
Message-ID: <37758099e872ac4e1262fa3ef7a277be.axp-list@archive.invalid> (raw)
In-Reply-To: <346B57C0.41C6@paralleldata.com>

> 
> Some tests I did indicate any Alpha divide (float/int) is slow.
> The table lookup for sqrt() is probably the fastest technique for
> an approximation.

Actually on machines like Alpha a table lookup is NOT a good technique
in general.  It tends to generate page faults and kills caches.
For a fast RISC a short localized computation can be vastly preferable
over a table lookup.  Things were different in the past.

If 1/sqrt() is on a critical path then a specialized code which computes
this function instead of calling sqrt and dividing 1.0 by results
could be a much better answer.

  Michal

-- 
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

       reply	other threads:[~1997-11-13 19:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <346B57C0.41C6@paralleldata.com>
1997-11-13 19:52 ` Michal Jaegermann [this message]
1997-11-13 22:16 Perf. of F77 on Alpha Claus Denk
  -- strict thread matches above, loose matches on Subject: below --
1997-11-13 22:13 Toon Moene
1997-11-13 22:08 Wes Bauske
     [not found] <346B7C36.F55B1A2@cica.es>
1997-11-13 21:41 ` Michal Jaegermann
1997-11-13 22:34   ` Tom Linden
1997-11-13 20:16 Barksdale, Ray
1997-11-13 19:40 Wes Bauske
     [not found] <Pine.SGI.3.96.971113110232.6251A-100000@zorn>
1997-11-13 16:00 ` Tom Linden
1997-11-13 16:18   ` David van der Spoel
1997-11-13 10:06 David van der Spoel
1997-11-13  9:25 Stefan Schroepfer
     [not found] <Pine.SGI.3.96.971112231225.4609A-100000@zorn>
1997-11-13  6:37 ` Maurice W. Hilarius
1997-11-12 22:23 David van der Spoel
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