Browse Source

fix mips fesetround failure to write back resulting mode

patch by Anand Takale.
Rich Felker 9 years ago
parent
commit
fd2add5ba0
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/fenv/mips/fenv.s

+ 1 - 0
src/fenv/mips/fenv.s

@@ -43,6 +43,7 @@ __fesetround:
 	li      $6, -4
 	and     $5, $5, $6
 	or      $5, $5, $4
+	ctc1    $5, $31
 	jr      $ra
 	li      $2, 0