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 | |
parent | 97be3cacecc44a521f6a9148657a7ecd3288636c (diff) | |
download | glibc-9b47df58143397aadfc5b1bd01edf3f858e325a8.tar glibc-9b47df58143397aadfc5b1bd01edf3f858e325a8.tar.gz glibc-9b47df58143397aadfc5b1bd01edf3f858e325a8.tar.bz2 glibc-9b47df58143397aadfc5b1bd01edf3f858e325a8.zip |
Call libc_fetestexcept_aarch64.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/aarch64/fpu/ftestexcept.c | 9 |
2 files changed, 7 insertions, 7 deletions
@@ -1,5 +1,10 @@ 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com> + * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept): + Call libc_fetestexcept_aarch64. + +2014-12-22 Wilco Dijkstra <wdijkstr@arm.com> + * 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 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) |