From 18f8524d2cf5e9f699055ed2c2cdeb56cd3b4cc4 Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Mon, 19 May 2014 09:08:59 +0100 Subject: Revert "ARM: Improve fenv implementation" This reverts commit c0c08d02c82275353f5c556f935a1a01714d9d7f. --- sysdeps/arm/fedisblxcpt.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sysdeps/arm/fedisblxcpt.c') diff --git a/sysdeps/arm/fedisblxcpt.c b/sysdeps/arm/fedisblxcpt.c index d5e0f0031a..f2956cd32a 100644 --- a/sysdeps/arm/fedisblxcpt.c +++ b/sysdeps/arm/fedisblxcpt.c @@ -35,9 +35,7 @@ fedisableexcept (int excepts) excepts &= FE_ALL_EXCEPT; new_fpscr = fpscr & ~(excepts << FE_EXCEPT_SHIFT); - /* Write new exceptions if changed. */ - if (new_fpscr != fpscr) - _FPU_SETCW (new_fpscr); + _FPU_SETCW (new_fpscr); return (fpscr >> FE_EXCEPT_SHIFT) & FE_ALL_EXCEPT; } -- cgit v1.2.3