summaryrefslogtreecommitdiff
path: root/src/fenv
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-10-01 05:10:54 +0000
committerRich Felker <dalias@aerifal.cx>2015-10-01 05:10:54 +0000
commitfd2add5ba01145593d71362c40a0a39b0b3dd7d2 (patch)
tree9c1bc357475cb27a30fc3866b4998a3d46749f82 /src/fenv
parentf3a53f095cd8ba108f8ac780da27a5ebbf4b224f (diff)
downloadmusl-fd2add5ba01145593d71362c40a0a39b0b3dd7d2.tar.gz
musl-fd2add5ba01145593d71362c40a0a39b0b3dd7d2.tar.bz2
musl-fd2add5ba01145593d71362c40a0a39b0b3dd7d2.tar.xz
musl-fd2add5ba01145593d71362c40a0a39b0b3dd7d2.zip
fix mips fesetround failure to write back resulting mode
patch by Anand Takale.
Diffstat (limited to 'src/fenv')
-rw-r--r--src/fenv/mips/fenv.s1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fenv/mips/fenv.s b/src/fenv/mips/fenv.s
index 9b45ffc3..62828212 100644
--- a/src/fenv/mips/fenv.s
+++ b/src/fenv/mips/fenv.s
@@ -43,6 +43,7 @@ __fesetround:
li $6, -4
and $5, $5, $6
or $5, $5, $4
+ ctc1 $5, $31
jr $ra
li $2, 0