xref: /freebsd/lib/msun/amd64/s_scalbnl.S (revision 3f0164abf32b9b761e0a2cb4bdca3a8b84f156d4)
1/*
2 * Based on code written by J.T. Conklin <jtc@netbsd.org>.
3 * Public domain.
4 */
5
6#include <machine/asm.h>
7__FBSDID("$FreeBSD$")
8/* RCSID("$NetBSD: s_scalbnf.S,v 1.4 1999/01/02 05:15:40 kristerw Exp $") */
9
10ENTRY(scalbnl)
11	movl	%edi,-4(%rsp)
12	fildl	-4(%rsp)
13	fldt	8(%rsp)
14	fscale
15	fstp	%st(1)
16	ret
17END(scalbnl)
18
19.globl	CNAME(ldexpl)
20.set	CNAME(ldexpl),CNAME(scalbnl)
21
22	.section .note.GNU-stack,"",%progbits
23