about summary refs log tree commit diff
path: root/src/math/i386/asinl.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/i386/asinl.s')
-rw-r--r--src/math/i386/asinl.s13
1 files changed, 12 insertions, 1 deletions
diff --git a/src/math/i386/asinl.s b/src/math/i386/asinl.s
index e07bf599..e973fc85 100644
--- a/src/math/i386/asinl.s
+++ b/src/math/i386/asinl.s
@@ -1 +1,12 @@
-# see asin.s
+.global asinl
+.type asinl,@function
+asinl:
+	fldt 4(%esp)
+	fld %st(0)
+	fld1
+	fsub %st(0),%st(1)
+	fadd %st(2)
+	fmulp
+	fsqrt
+	fpatan
+	ret