fix sh fesetround failure to clear old mode
commit043c6e31d9135c27875a1ccb4c0f1638f0170e77
authorRich Felker <dalias@aerifal.cx>
Sat, 18 Apr 2020 07:23:40 +0000 (18 03:23 -0400)
committerRich Felker <dalias@aerifal.cx>
Sat, 18 Apr 2020 07:23:40 +0000 (18 03:23 -0400)
tree9fbe00e8f036b11e2873a34d970cf7140887eedb
parent2e0907ce624e2058bb31fab5ae565f413dbaf87f
fix sh fesetround failure to clear old mode

the sh version of fesetround or'd the new rounding mode onto the
control register without clearing the old rounding mode bits, making
changes sticky. this was the root cause of multiple test failures.
src/fenv/sh/fenv.S