[PATCH] PPC64 Use hardware sqrt.
Steve Munroe
sjmunroe@us.ibm.com
Wed May 12 02:23:00 GMT 2004
Kumar Gala <kumar.gala@freescale.com> wrote on 05/07/2004 12:10:32 AM:
> > I would consider a single AT_HWCAP bit for the PPC_FEATURE_HAS_FPU_OPT
> > but
> > I am not interested in ala-cart. If the implementation does not
> > implement
> > all the optional FP instructions then the bit is OFF.
> >
> > sqrt is the second highest contributor to SPEC-FP so I am not willing
> > to
> > give up the performance boost I get from the hardware.
> >
> > Steven J. Munroe
> > Linux on Power Toolchain Architect
> > IBM Corporation, Linux Technology Center
>
> I think this is perfectly reasonable.
>
Paul do you agree to adding PPC_FEATURE_HAS_FPU_OPT to AT_HWCAP?
For current PPC64 processors it will always be true. If/when a PPC64
processor is shipped that does implement the full set of the Optional FP
instructions we will need to add logic for the kernel to detect this. I
suspect the landscape is more complex for PPC32.
Steven J. Munroe
Linux on Power Toolchain Architect
IBM Corporation, Linux Technology Center
More information about the Libc-alpha
mailing list