mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-08 07:34:07 +00:00
x86/x64: Avoid use of SAHF instruction.
This commit is contained in:
parent
1ca794e0b0
commit
c03be1210c
@ -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
|
||||||
|
|
|
|
||||||
|
Loading…
Reference in New Issue
Block a user