This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: [PATCH] PPC64 Use hardware sqrt.
- From: Richard Henderson <rth at twiddle dot net>
- To: Steve Munroe <sjmunroe at us dot ibm dot com>
- Cc: libc-alpha at sources dot redhat dot com, dgm69 at us dot ibm dot com, janis187 at us dot ibm dot com
- Date: Sat, 15 May 2004 11:26:56 -0700
- Subject: Re: [PATCH] PPC64 Use hardware sqrt.
- References: <OF8B7A0756.AD045824-ON86256E92.000912C1-86256E92.000C1647@us.ibm.com>
On Tue, May 11, 2004 at 09:12:01PM -0500, Steve Munroe wrote:
> Splitting the code back out into "wrapper" and "implementation" would
> add significant overhead. For example using the generic/w_sqrt.S and
> replacing the e_sqrt implementation with a single fsqrt instruction (and
> return branch), the wrapper would more then double the path!
The other option is to arrange for __ieee754_sqrtl to be inline.
See, for instance, sparc/fpu/bits/mathinline.h.
r~