summaryrefslogtreecommitdiffstats
path: root/libc-top-half/musl/src/math/i386/acosl.s
diff options
context:
space:
mode:
Diffstat (limited to 'libc-top-half/musl/src/math/i386/acosl.s')
-rw-r--r--libc-top-half/musl/src/math/i386/acosl.s14
1 files changed, 14 insertions, 0 deletions
diff --git a/libc-top-half/musl/src/math/i386/acosl.s b/libc-top-half/musl/src/math/i386/acosl.s
new file mode 100644
index 0000000..599c823
--- /dev/null
+++ b/libc-top-half/musl/src/math/i386/acosl.s
@@ -0,0 +1,14 @@
+.global acosl
+.type acosl,@function
+acosl:
+ fldt 4(%esp)
+ fld %st(0)
+ fld1
+ fsub %st(0),%st(1)
+ fadd %st(2)
+ fmulp
+ fsqrt
+ fabs # fix sign of zero (matters in downward rounding mode)
+ fxch %st(1)
+ fpatan
+ ret