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