summaryrefslogtreecommitdiff
path: root/sysdeps/libm-i387/e_log10l.S
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/libm-i387/e_log10l.S')
-rw-r--r--sysdeps/libm-i387/e_log10l.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/e_log10l.S b/sysdeps/libm-i387/e_log10l.S
new file mode 100644
index 0000000000..0a19256933
--- /dev/null
+++ b/sysdeps/libm-i387/e_log10l.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_log10l)
+ fldlg2
+ fldt 4(%esp)
+ fyl2x
+ ret