Explorar o código

fix mips fesetround failure to write back resulting mode

patch by Anand Takale.
Rich Felker %!s(int64=9) %!d(string=hai) anos
pai
achega
fd2add5ba0
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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