Browse Source

Merge branch 'master' into v2.1

Mike Pall 11 years ago
parent
commit
3500c35e23
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/vm_x86.dasc

+ 1 - 1
src/vm_x86.dasc

@@ -2152,7 +2152,7 @@ static void build_subroutines(BuildCtx *ctx)
   |  xorps xmm4, xmm4; jmp <1			// Return +-Inf and +-0.
   |
   |.ffunc_nnr math_fmod
-  |1: ; fprem; fnstsw ax; sahf; jp <1
+  |1: ; fprem; fnstsw ax; and ax, 0x400; jnz <1
   |  fpop1
   |  jmp ->fff_resn
   |