This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 11/13] AArch64: Cleanup fenv implementation
- From: Marcus Shawcroft <marcus dot shawcroft at gmail dot com>
- To: Wilco Dijkstra <wdijkstr at arm dot com>
- Cc: GNU C Library <libc-alpha at sourceware dot org>
- Date: Thu, 18 Dec 2014 16:11:31 +0000
- Subject: Re: [PATCH 11/13] AArch64: Cleanup fenv implementation
- Authentication-results: sourceware.org; auth=none
- References: <001501cfeee7$d6128df0$8237a9d0$ at com>
On 23 October 2014 at 18:36, Wilco Dijkstra <wdijkstr@arm.com> wrote:
> -#include <fenv.h>
Likewise, don't drop this header. Otherwise OK.
/Marcus
> -#include <fpu_control.h>
> +#include <math_private.h>
>
> int
> fetestexcept (int excepts)
> {
> - fpu_fpsr_t fpsr;
> -
> - /* Get current exceptions. */
> - _FPU_GETFPSR (fpsr);
> -
> - return fpsr & excepts & FE_ALL_EXCEPT;
> + return libc_fetestexcept_aarch64 (excepts);
> }
> libm_hidden_def (fetestexcept)
> --
> 1.9.1
>
>