about summary refs log tree commit diff
path: root/REORG.TODO/sysdeps/x86_64/fpu/s_scalbnl.S
blob: 6c7683c32b128dc3aae93fca5e00ea9037c78b05 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/*
 * 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)