mirror of
https://github.com/fluencelabs/musl
synced 2025-07-31 22:31:58 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user