x86/x64: Avoid use of SAHF instruction.

This commit is contained in:
Mike Pall 2014-03-27 11:38:07 +01:00
parent 1ca794e0b0
commit c03be1210c

View File

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