This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] PowerPC: Fix for POWER7 sinf/cosf


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]