Browse Source

MIPS64: Fix soft-float +-0.0 vs. +-0.0 comparison.

Thanks to Stefan Pejic.
Mike Pall 7 years ago
parent
commit
8071aa4ad6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/vm_mips64.dasc

+ 1 - 1
src/vm_mips64.dasc

@@ -2661,7 +2661,7 @@ static void build_subroutines(BuildCtx *ctx)
   |.  slt CRET1, CARG2, CARG1
   |8:
   |  jr ra
-  |.  nop
+  |.  li CRET1, 0
   |9:
   |  jr ra
   |.  move CRET1, CRET2