about summary refs log tree commit diff
path: root/sysdeps/x86_64/fpu/s_scalbnl.S
blob: d0e9301eed797458dc253e3ba6bf3be5f71e10ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * Written by J.T. Conklin <jtc@netbsd.org>.
 * Changes for long double by Ulrich Drepper <drepper@cygnus.com>
 * Changes for x86-64 by Andreas Jaeger <aj@suse.de>=09
 * Public domain.
 */

#include <machine/asm.h>

ENTRY(__scalbnl)
	movl	%edi,-4(%rsp)
	fildl	-4(%rsp)
	fldt	8(%rsp)
	fscale
	fstp	%st(1)
	ret
END (__scalbnl)
weak_alias (__scalbnl, scalbnl)