mirror of git://git.musl-libc.org/musl
fix mips fesetenv(FE_DFL_ENV) again
commit 5fc1487832
attempted to fix it,
but neglected the fact that mips has branch delay slots.
This commit is contained in:
parent
aecdbb3042
commit
8b0d66d21c
|
@ -59,6 +59,7 @@ fegetenv:
|
||||||
fesetenv:
|
fesetenv:
|
||||||
addiu $5, $4, 1
|
addiu $5, $4, 1
|
||||||
beq $5, $0, 1f
|
beq $5, $0, 1f
|
||||||
|
nop
|
||||||
lw $5, 0($4)
|
lw $5, 0($4)
|
||||||
1: ctc1 $5, $31
|
1: ctc1 $5, $31
|
||||||
jr $ra
|
jr $ra
|
||||||
|
|
Loading…
Reference in New Issue