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.


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


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