about summary refs log tree commit diff
path: root/sysdeps
diff options
context:
space:
mode:
authorWilco Dijkstra <wdijkstr@arm.com>2014-12-22 17:01:33 +0000
committerWilco Dijkstra <wdijkstr@arm.com>2014-12-22 17:14:54 +0000
commit9b47df58143397aadfc5b1bd01edf3f858e325a8 (patch)
treebfb84daa77f486b725504b26551c6cfacfcd32d8 /sysdeps
parent97be3cacecc44a521f6a9148657a7ecd3288636c (diff)
downloadglibc-9b47df58143397aadfc5b1bd01edf3f858e325a8.tar.gz
glibc-9b47df58143397aadfc5b1bd01edf3f858e325a8.tar.xz
glibc-9b47df58143397aadfc5b1bd01edf3f858e325a8.zip
Call libc_fetestexcept_aarch64.
Diffstat (limited to 'sysdeps')
-rw-r--r--sysdeps/aarch64/fpu/ftestexcept.c9
1 files changed, 2 insertions, 7 deletions
diff --git a/sysdeps/aarch64/fpu/ftestexcept.c b/sysdeps/aarch64/fpu/ftestexcept.c
index 73e01d4388..05787b10e4 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)