diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2014-05-19 09:08:59 +0100 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2014-05-19 09:08:59 +0100 |
commit | 18f8524d2cf5e9f699055ed2c2cdeb56cd3b4cc4 (patch) | |
tree | 92b5d3167160de1067a52ba0fec81393f8e196cf /sysdeps/arm/fedisblxcpt.c | |
parent | 834caf06f33d79be54cff63c274fba2845513593 (diff) | |
download | glibc-18f8524d2cf5e9f699055ed2c2cdeb56cd3b4cc4.tar.gz glibc-18f8524d2cf5e9f699055ed2c2cdeb56cd3b4cc4.tar.xz glibc-18f8524d2cf5e9f699055ed2c2cdeb56cd3b4cc4.zip |
Revert "ARM: Improve fenv implementation"
This reverts commit c0c08d02c82275353f5c556f935a1a01714d9d7f.
Diffstat (limited to 'sysdeps/arm/fedisblxcpt.c')
-rw-r--r-- | sysdeps/arm/fedisblxcpt.c | 4 |
1 files changed, 1 insertions, 3 deletions
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; } |