From 30df206cb0c66848142898115d301a0d80333d0f Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 20 Mar 2012 23:29:24 -0400 Subject: x86_64 math asm, long double functions only this has not been tested heavily, but it's known to at least assemble and run in basic usage cases. it's nearly identical to the corresponding i386 code, and thus expected to be just as correct or just as incorrect. --- src/math/x86_64/asinl.s | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/math/x86_64/asinl.s (limited to 'src/math/x86_64/asinl.s') diff --git a/src/math/x86_64/asinl.s b/src/math/x86_64/asinl.s new file mode 100644 index 00000000..83c392f7 --- /dev/null +++ b/src/math/x86_64/asinl.s @@ -0,0 +1,12 @@ +.global asinl +.type asinl,@function +asinl: + fldt 8(%rsp) +1: fld %st(0) + fmul %st(0) + fld1 + fsubp %st(1) + fsqrt + fpatan + ret + -- cgit v1.2.1