diff options
author | Wilco Dijkstra <wdijkstr@arm.com> | 2014-12-22 17:01:33 +0000 |
---|---|---|
committer | Wilco Dijkstra <wdijkstr@arm.com> | 2014-12-22 17:14:54 +0000 |
commit | 9b47df58143397aadfc5b1bd01edf3f858e325a8 (patch) | |
tree | bfb84daa77f486b725504b26551c6cfacfcd32d8 /sysdeps | |
parent | 97be3cacecc44a521f6a9148657a7ecd3288636c (diff) | |
download | glibc-9b47df58143397aadfc5b1bd01edf3f858e325a8.zip glibc-9b47df58143397aadfc5b1bd01edf3f858e325a8.tar.gz glibc-9b47df58143397aadfc5b1bd01edf3f858e325a8.tar.bz2 |
Call libc_fetestexcept_aarch64.
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/aarch64/fpu/ftestexcept.c | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/sysdeps/aarch64/fpu/ftestexcept.c b/sysdeps/aarch64/fpu/ftestexcept.c index 73e01d4..05787b1 100644 --- a/sysdeps/aarch64/fpu/ftestexcept.c +++ b/sysdeps/aarch64/fpu/ftestexcept.c @@ -17,16 +17,11 @@ <http://www.gnu.org/licenses/>. */ #include <fenv.h> -#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) |