From ea9a7c8b066accc408402fc00c946db7d8eb9764 Mon Sep 17 00:00:00 2001 From: Wilco Dijkstra Date: Fri, 24 Oct 2014 13:01:38 +0000 Subject: Cleanup feclearexcept to use the same logic as the ARM version. No functional changes. --- sysdeps/aarch64/fpu/fclrexcpt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/aarch64') diff --git a/sysdeps/aarch64/fpu/fclrexcpt.c b/sysdeps/aarch64/fpu/fclrexcpt.c index b24f0ffbbc..4471373237 100644 --- a/sysdeps/aarch64/fpu/fclrexcpt.c +++ b/sysdeps/aarch64/fpu/fclrexcpt.c @@ -28,7 +28,7 @@ feclearexcept (int excepts) excepts &= FE_ALL_EXCEPT; _FPU_GETFPSR (fpsr); - fpsr_new = (fpsr & ~FE_ALL_EXCEPT) | (fpsr & FE_ALL_EXCEPT & ~excepts); + fpsr_new = fpsr & ~excepts; if (fpsr != fpsr_new) _FPU_SETFPSR (fpsr_new); -- cgit 1.4.1