From: Wilco Dijkstra Date: Mon, 22 Dec 2014 17:01:33 +0000 (+0000) Subject: Call libc_fetestexcept_aarch64. X-Git-Tag: glibc-2.21~172 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9b47df58143397aadfc5b1bd01edf3f858e325a8;p=thirdparty%2Fglibc.git Call libc_fetestexcept_aarch64. --- diff --git a/ChangeLog b/ChangeLog index a026ad17f77..cb161433cbc 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +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): diff --git a/sysdeps/aarch64/fpu/ftestexcept.c b/sysdeps/aarch64/fpu/ftestexcept.c index 73e01d4388b..05787b10e4a 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)