mirror of git://git.musl-libc.org/musl
fix fesetenv(FE_DFL_ENV) on mips
mips fesetenv did not handle FE_DFL_ENV, now fcsr is cleared in that case.
This commit is contained in:
parent
3f92f92cb9
commit
5fc1487832
|
@ -57,7 +57,9 @@ fegetenv:
|
|||
.global fesetenv
|
||||
.type fesetenv,@function
|
||||
fesetenv:
|
||||
addiu $5, $4, 1
|
||||
beq $5, $0, 1f
|
||||
lw $5, 0($4)
|
||||
ctc1 $5, $31
|
||||
1: ctc1 $5, $31
|
||||
jr $ra
|
||||
li $2, 0
|
||||
|
|
Loading…
Reference in New Issue