From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <37758099e872ac4e1262fa3ef7a277be.axp-list@archive.invalid> X-Archive-Original-Message-ID: <199711131952.MAA25160@ellpspace.math.ualberta.ca> Date: Thu, 13 Nov 1997 12:52:07 -0700 (MST) From: Michal Jaegermann Subject: Re: Perf. of F77 on Alpha 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