[PATCH] PowerPC: Trigonometric optimizations for POWER
Andreas Schwab
schwab@redhat.com
Wed Oct 26 13:01:00 GMT 2011
Adhemerval Zanella <azanella@linux.vnet.ibm.com> writes:
> diff --git a/sysdeps/powerpc/fpu/math_private.h b/sysdeps/powerpc/fpu/math_private.h
> index 90021c6..881e5eb 100644
> --- a/sysdeps/powerpc/fpu/math_private.h
> +++ b/sysdeps/powerpc/fpu/math_private.h
> @@ -27,9 +27,90 @@
>
> # if __WORDSIZE == 64 || defined _ARCH_PWR4
> # define __CPU_HAS_FSQRT 1
> +
> +static inline double
> +__ieee754_sqrt_inline (double __x)
Just define __ieee754_sqrt, see sysdeps/x86_64/fpu/math_private.h.
Andreas.
--
Andreas Schwab, schwab@redhat.com
GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E
"And now for something completely different."
More information about the Libc-alpha
mailing list