summaryrefslogtreecommitdiff
path: root/src/math/x32/fmodl.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/x32/fmodl.s')
-rw-r--r--src/math/x32/fmodl.s4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/math/x32/fmodl.s b/src/math/x32/fmodl.s
index 9e4378ab..b9513204 100644
--- a/src/math/x32/fmodl.s
+++ b/src/math/x32/fmodl.s
@@ -5,7 +5,7 @@ fmodl:
fldt 8(%esp)
1: fprem
fstsw %ax
- sahf
- jp 1b
+ testb $4,%ah
+ jnz 1b
fstp %st(1)
ret