summaryrefslogtreecommitdiff
path: root/src/math/x32
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/x32')
-rw-r--r--src/math/x32/fmodl.s2
-rw-r--r--src/math/x32/remainderl.s2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/math/x32/fmodl.s b/src/math/x32/fmodl.s
index b9513204..c3f790c9 100644
--- a/src/math/x32/fmodl.s
+++ b/src/math/x32/fmodl.s
@@ -4,7 +4,7 @@ fmodl:
fldt 24(%esp)
fldt 8(%esp)
1: fprem
- fstsw %ax
+ fnstsw %ax
testb $4,%ah
jnz 1b
fstp %st(1)
diff --git a/src/math/x32/remainderl.s b/src/math/x32/remainderl.s
index 79bf4feb..376ba0e2 100644
--- a/src/math/x32/remainderl.s
+++ b/src/math/x32/remainderl.s
@@ -4,7 +4,7 @@ remainderl:
fldt 24(%esp)
fldt 8(%esp)
1: fprem1
- fstsw %ax
+ fnstsw %ax
testb $4,%ah
jnz 1b
fstp %st(1)