diff options
author | das <das@FreeBSD.org> | 2005-01-13 18:58:25 +0000 |
---|---|---|
committer | das <das@FreeBSD.org> | 2005-01-13 18:58:25 +0000 |
commit | 20067523affa6535f5dd33cfec8b3d14c30fb812 (patch) | |
tree | 04a0605ee5b79977a033aa99669d833d7fc9395e /lib/msun/i387/e_logf.S | |
parent | 97f02113039b27b597708c06ddc73a16de123e80 (diff) | |
download | FreeBSD-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_logf.S')
-rw-r--r-- | lib/msun/i387/e_logf.S | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/msun/i387/e_logf.S b/lib/msun/i387/e_logf.S new file mode 100644 index 0000000..a8bf1f6 --- /dev/null +++ b/lib/msun/i387/e_logf.S @@ -0,0 +1,15 @@ +/* + * Written by J.T. Conklin <jtc@netbsd.org>. + * Public domain. + */ + +#include <machine/asm.h> + +__FBSDID("$FreeBSD$"); +/* RCSID("$NetBSD: e_logf.S,v 1.2 1996/07/06 00:15:45 jtc Exp $") */ + +ENTRY(__ieee754_logf) + fldln2 + flds 4(%esp) + fyl2x + ret |