aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
diff options
context:
space:
mode:
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 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)