summaryrefslogtreecommitdiff
path: root/src/fenv/mips/fenv.s
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2015-04-17 22:19:58 -0400
committerRich Felker <dalias@aerifal.cx>2015-04-17 22:19:58 -0400
commit8b0d66d21cc6934de16d909050c97962edb33788 (patch)
tree5fd48c4ff4604c6cb98ec571853214b46faf345f /src/fenv/mips/fenv.s
parentaecdbb3042704075b303b626da424aa0665e4f97 (diff)
downloadmusl-8b0d66d21cc6934de16d909050c97962edb33788.tar.gz
fix mips fesetenv(FE_DFL_ENV) again
commit 5fc1487832e16aa2119e735a388d5f36c8c139e2 attempted to fix it, but neglected the fact that mips has branch delay slots.
Diffstat (limited to 'src/fenv/mips/fenv.s')
-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 a3233c1e..9b45ffc3 100644
--- a/src/fenv/mips/fenv.s
+++ b/src/fenv/mips/fenv.s
@@ -59,6 +59,7 @@ fegetenv:
fesetenv:
addiu $5, $4, 1
beq $5, $0, 1f
+ nop
lw $5, 0($4)
1: ctc1 $5, $31
jr $ra