提交 5fc14878 编写于 作者: S Szabolcs Nagy

fix fesetenv(FE_DFL_ENV) on mips

mips fesetenv did not handle FE_DFL_ENV, now fcsr is cleared in that
case.
上级 3f92f92c
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册