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:
Rich Felker 2015-04-17 22:19:58 -04:00
parent aecdbb3042
commit 8b0d66d21c
1 changed files with 1 additions and 0 deletions

View File

@ -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