about summary refs log tree commit diff
path: root/src/math/x86_64/logl.s
diff options
context:
space:
mode:
Diffstat (limited to 'src/math/x86_64/logl.s')
-rw-r--r--src/math/x86_64/logl.s7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/math/x86_64/logl.s b/src/math/x86_64/logl.s
new file mode 100644
index 00000000..20dd1f81
--- /dev/null
+++ b/src/math/x86_64/logl.s
@@ -0,0 +1,7 @@
+.global logl
+.type logl,@function
+logl:
+	fldln2
+	fldt 8(%rsp)
+	fyl2x
+	ret