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
- From: "Ryan S. Arnold" <ryan dot arnold at gmail dot com>
- To: Adhemerval Zanella <azanella at linux dot vnet dot ibm dot com>
- Cc: "GNU C. Library" <libc-alpha at sourceware dot org>
- Date: Tue, 29 May 2012 19:44:14 -0500
- Subject: Re: [PATCH] PowerPC: Fix for POWER7 sinf/cosf
- References: <4FC558B1.2090309@linux.vnet.ibm.com>
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