This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] PowerPC: Trigonometric optimizations for POWER
- From: Andreas Schwab <schwab at redhat dot com>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 26 Oct 2011 10:36:06 +0200
- Subject: Re: [PATCH] PowerPC: Trigonometric optimizations for POWER
- References: <4E36F78A.50403@linux.vnet.ibm.com><1312308652.7676.186.camel@localhost.localdomain><4E41727D.6030700@linux.vnet.ibm.com> <m3ty8f467t.fsf@hase.home><4EA70837.3090809@linux.vnet.ibm.com>
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."