[PATCH] PPC64 Use hardware sqrt.
Steve Munroe
sjmunroe@us.ibm.com
Wed May 12 14:35:00 GMT 2004
Paul Mackerras <paulus@samba.org> wrote on 05/11/2004 10:44:37 PM:
>
> I assume you're going to make a 32-bit glibc use the optional
> instructions if available, so that we see the speedup for 32-bit
> applications running on a 64-bit processor?
>
Yes. The intent is that 32-bit processes running on 64-bit hardware can
take advantage of fsqrt and others. For example fctid, fctidz, and fcfid
instructions are only available on 64-bit implementations independent of
32-/64-bit mode. We can use PPC_FEATURE_64 to improve llrint() for
example.
The trick will be to make the test cheep enough ....
Steven J. Munroe
Linux on Power Toolchain Architect
IBM Corporation, Linux Technology Center
More information about the Libc-alpha
mailing list