diff options
Diffstat (limited to 'lib/msun/amd64/s_scalbnl.S')
-rw-r--r-- | lib/msun/amd64/s_scalbnl.S | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/lib/msun/amd64/s_scalbnl.S b/lib/msun/amd64/s_scalbnl.S new file mode 100644 index 0000000..021d329 --- /dev/null +++ b/lib/msun/amd64/s_scalbnl.S @@ -0,0 +1,22 @@ +/* + * Based on code written by J.T. Conklin <jtc@netbsd.org>. + * Public domain. + */ + +#include <machine/asm.h> +__FBSDID("$FreeBSD$") +/* RCSID("$NetBSD: s_scalbnf.S,v 1.4 1999/01/02 05:15:40 kristerw Exp $") */ + +ENTRY(scalbnl) + movl %edi,-4(%rsp) + fildl -4(%rsp) + fldt 8(%rsp) + fscale + fstp %st(1) + ret +END(scalbnl) + +.globl CNAME(ldexpl) +.set CNAME(ldexpl),CNAME(scalbnl) + + .section .note.GNU-stack,"",%progbits |