[PATCH] PowerPC: Fix for POWER7 sinf/cosf

Ryan S. Arnold ryan.arnold@gmail.com
Wed May 30 03:15:00 GMT 2012


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.

Ryan



More information about the Libc-alpha mailing list