summaryrefslogtreecommitdiffstats
path: root/lib/msun/i387/e_log10f.S
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2005-01-13 18:58:25 +0000
committerdas <das@FreeBSD.org>2005-01-13 18:58:25 +0000
commit20067523affa6535f5dd33cfec8b3d14c30fb812 (patch)
tree04a0605ee5b79977a033aa99669d833d7fc9395e /lib/msun/i387/e_log10f.S
parent97f02113039b27b597708c06ddc73a16de123e80 (diff)
downloadFreeBSD-src-20067523affa6535f5dd33cfec8b3d14c30fb812.zip
FreeBSD-src-20067523affa6535f5dd33cfec8b3d14c30fb812.tar.gz
Import the subset of J.T. Conklin's single-precision x86-optimized
math routines that appear to be (a) correct and (b) faster than their MI counterparts on my Pentium 4. Obtained from: NetBSD
Diffstat (limited to 'lib/msun/i387/e_log10f.S')
-rw-r--r--lib/msun/i387/e_log10f.S15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/msun/i387/e_log10f.S b/lib/msun/i387/e_log10f.S
new file mode 100644
index 0000000..7623938
--- /dev/null
+++ b/lib/msun/i387/e_log10f.S
@@ -0,0 +1,15 @@
+/*
+ * Written by J.T. Conklin <jtc@netbsd.org>.
+ * Public domain.
+ */
+
+#include <machine/asm.h>
+
+__FBSDID("$FreeBSD$");
+/* RCSID("$NetBSD: e_log10f.S,v 1.1 1996/07/03 16:50:22 jtc Exp $") */
+
+ENTRY(__ieee754_log10f)
+ fldlg2
+ flds 4(%esp)
+ fyl2x
+ ret
OpenPOWER on IntegriCloud