summary refs log tree commit diff
path: root/sysdeps/libm-i387/e_logl.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/e_logl.S')
-rw-r--r--sysdeps/libm-i387/e_logl.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/e_logl.S b/sysdeps/libm-i387/e_logl.S
new file mode 100644
index 0000000000..2575d6c6e8
--- /dev/null
+++ b/sysdeps/libm-i387/e_logl.S
@@ -0,0 +1,16 @@
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Public domain.
+ *
+ * Adapted for `long double' by Ulrich Drepper <drepper@cygnus.com>.
+ */
+
+#include <machine/asm.h>
+
+RCSID("$NetBSD: $")
+
+ENTRY(__ieee754_logl)
+	fldln2
+	fldt	4(%esp)
+	fyl2x
+	ret