This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] PowerPC: Fix for POWER7 sinf/cosf
"Ryan S. Arnold" <ryan.arnold@gmail.com> writes:
> On Tue, May 29, 2012 at 6:16 PM, Adhemerval Zanella
> <azanella@linux.vnet.ibm.com> wrote:
>> - Â Â Âif (x == 0.0)
>> - Â Â Â return one;
>> + Â Â Âferaiseexcept (FE_INEXACT);
>> + Â Â Âreturn one;
>
> Call __feraiseexcept instead in order to avoid the PLT.
There's a hidden_proto in include/fenv.h.
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."