about summary refs log tree commit diff
path: root/src/math/i386/remquo.s
diff options
context:
space:
mode:
authornsz <nsz@port70.net>2012-03-27 22:01:21 +0200
committernsz <nsz@port70.net>2012-03-27 22:01:21 +0200
commitad23771c32e5a125eae711ab644cf672e4896c76 (patch)
tree6a6e9aea3979a3595abe5eb5994ae9c03c313638 /src/math/i386/remquo.s
parente68a4633e01e1a9ef41fa6dbc39d1d93dca130d3 (diff)
downloadmusl-ad23771c32e5a125eae711ab644cf672e4896c76.tar.gz
musl-ad23771c32e5a125eae711ab644cf672e4896c76.tar.xz
musl-ad23771c32e5a125eae711ab644cf672e4896c76.zip
math: fix typo in i386 remquof and remquol asm
(fldl instruction was used instead of flds and fldt)
Diffstat (limited to 'src/math/i386/remquo.s')
-rw-r--r--src/math/i386/remquo.s10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/math/i386/remquo.s b/src/math/i386/remquo.s
index 37a24450..598e7549 100644
--- a/src/math/i386/remquo.s
+++ b/src/math/i386/remquo.s
@@ -2,8 +2,8 @@
 .type remquof,@function
 remquof:
 	mov 12(%esp),%ecx
-	fldl 8(%esp)
-	fldl 4(%esp)
+	flds 8(%esp)
+	flds 4(%esp)
 	mov 11(%esp),%dh
 	xor 7(%esp),%dh
 	jmp 1f
@@ -12,8 +12,8 @@ remquof:
 .type remquol,@function
 remquol:
 	mov 28(%esp),%ecx
-	fldl 16(%esp)
-	fldl 4(%esp)
+	fldt 16(%esp)
+	fldt 4(%esp)
 	mov 25(%esp),%dh
 	xor 13(%esp),%dh
 	jmp 1f
@@ -26,7 +26,7 @@ remquo:
 	fldl 4(%esp)
 	mov 19(%esp),%dh
 	xor 11(%esp),%dh
-1:      fprem1
+1:	fprem1
 	fnstsw %ax
 	sahf
 	jp 1b