about summary refs log tree commit diff
path: root/src/math/i386
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386')
-rw-r--r--src/math/i386/asin.s5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/math/i386/asin.s b/src/math/i386/asin.s
index cab7bfc8..932c7542 100644
--- a/src/math/i386/asin.s
+++ b/src/math/i386/asin.s
@@ -15,9 +15,10 @@ asinl:
 asin:
 	fldl 4(%esp)
 1:	fld %st(0)
-	fmul %st(0)
 	fld1
-	fsubp %st(1)
+	fsub %st(0),%st(1)
+	fadd %st(2)
+	fmulp
 	fsqrt
 	fpatan
 	ret