summaryrefslogtreecommitdiffstats
path: root/lib/msun/amd64/s_scalbnl.S
blob: 021d329ff1a02ca6056cf872a5d7f3d5e105dfb4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
OpenPOWER on IntegriCloud