summaryrefslogtreecommitdiff
path: root/lib/libm/arch/i387/s_scalbnf.S
blob: 484bb34467f9373ac1a00ac018feaf2d1a520f97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*	$OpenBSD: s_scalbnf.S,v 1.3 2005/08/02 11:17:31 espie Exp $ */
/*
 * Written by J.T. Conklin <jtc@netbsd.org>.
 * Public domain.
 */

#include <machine/asm.h>

ENTRY(scalbnf)
	fildl	8(%esp)
	flds	4(%esp)
	fscale
	fstp	%st(1)		/* bug fix for fp stack overflow */
	ret