x86_64 math asm, long double functions only
[musl] / src / math / x86_64 / acosl.s
diff --git a/src/math/x86_64/acosl.s b/src/math/x86_64/acosl.s
new file mode 100644 (file)
index 0000000..92c2987
--- /dev/null
@@ -0,0 +1,20 @@
+.global acosl
+.type acosl,@function
+acosl:
+       fldt 8(%rsp)
+       fld1
+       fld %st(1)
+       fld1
+       fsubp
+       fxch %st(2)
+       faddp
+       fdivp
+       fsqrt
+       fld1
+       fxch %st(1)
+       fpatan
+       fld1
+       fld1
+       faddp
+       fmulp
+       ret