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