From 9b47df58143397aadfc5b1bd01edf3f858e325a8 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Mon, 22 Dec 2014 17:01:33 +0000 Subject: [PATCH] Call libc_fetestexcept_aarch64. --- ChangeLog | 5 +++++ sysdeps/aarch64/fpu/ftestexcept.c | 9 ++------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index a026ad1..cb16143 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2014-12-22 Wilco Dijkstra + * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept): + Call libc_fetestexcept_aarch64. + +2014-12-22 Wilco Dijkstra + * sysdeps/aarch64/fpu/fesetround.c (fesetround): Call libc_fesetround_aarch64. 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 @@ . */ #include -#include +#include 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) -- 2.7.4