summaryrefslogtreecommitdiff
path: root/src/math/x86_64/fmodl.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/x86_64/fmodl.s')
-rw-r--r--src/math/x86_64/fmodl.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/x86_64/fmodl.s b/src/math/x86_64/fmodl.s
index cd8d2b7c..ea07b402 100644
--- a/src/math/x86_64/fmodl.s
+++ b/src/math/x86_64/fmodl.s
@@ -4,7 +4,7 @@ fmodl:
fldt 24(%rsp)
fldt 8(%rsp)
1: fprem
- fstsw %ax
+ fnstsw %ax
testb $4,%ah
jnz 1b
fstp %st(1)