[PATCH] PowerPC: Fix for POWER7 sinf/cosf

Andreas Schwab schwab@linux-m68k.org
Wed May 30 08:58:00 GMT 2012


"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."



More information about the Libc-alpha mailing list