This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PPC64 Use hardware sqrt.


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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]