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: Steve Munroe <sjmunroe at us dot ibm dot com>
- To: Paul Mackerras <paulus at samba dot org>
- Cc: Kumar Gala <kumar dot gala at freescale dot com>, libc-alpha at sources dot redhat dot com, Tom Gall <tom_gall at vnet dot ibm dot com>
- Date: Wed, 12 May 2004 09:35:09 -0500
- Subject: Re: [PATCH] PPC64 Use hardware sqrt.
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