about summary refs log tree commit diff
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.s2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/x86_64/remainderl.s b/src/math/x86_64/remainderl.s
index 2c337cf5..cb3857b4 100644
--- a/src/math/x86_64/remainderl.s
+++ b/src/math/x86_64/remainderl.s
@@ -4,7 +4,7 @@ remainderl:
 	fldt 24(%rsp)
 	fldt 8(%rsp)
 1:	fprem1
-	fstsw %ax
+	fnstsw %ax
 	testb $4,%ah
 	jnz 1b
 	fstp %st(1)