diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2012-06-09 18:36:52 +0200 |
---|---|---|
committer | Thomas Schwinge <thomas@codesourcery.com> | 2012-06-09 18:36:52 +0200 |
commit | 366af02c96eea0a03ccd2fa187819d866ac49ba2 (patch) | |
tree | dc33d3527aa16bd63da3405b7c074fea08282e5f /sysdeps/sh/sh4/fpu/fegetexcept.c | |
parent | 793ea8518ff2df20ecbb3fa1c4158b06b653a535 (diff) | |
download | glibc-366af02c96eea0a03ccd2fa187819d866ac49ba2.tar.gz glibc-366af02c96eea0a03ccd2fa187819d866ac49ba2.tar.xz glibc-366af02c96eea0a03ccd2fa187819d866ac49ba2.zip |
SH: Do not re-write fpscr after reading it.
Diffstat (limited to 'sysdeps/sh/sh4/fpu/fegetexcept.c')
-rw-r--r-- | sysdeps/sh/sh4/fpu/fegetexcept.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sysdeps/sh/sh4/fpu/fegetexcept.c b/sysdeps/sh/sh4/fpu/fegetexcept.c index a2faaac332..038fe973ca 100644 --- a/sysdeps/sh/sh4/fpu/fegetexcept.c +++ b/sysdeps/sh/sh4/fpu/fegetexcept.c @@ -27,9 +27,6 @@ fegetexcept (void) /* Get current exceptions. */ _FPU_GETCW (temp); - /* When read fpscr, this was initialized. - We need to rewrite value of temp. */ - _FPU_SETCW (temp); return (temp >> 5) & FE_ALL_EXCEPT; } |