1994-08-19 07:56:44 +04:00
|
|
|
/*
|
1995-04-29 02:43:31 +04:00
|
|
|
* Written by J.T. Conklin <jtc@netbsd.org>.
|
|
|
|
* Public domain.
|
1994-08-19 07:56:44 +04:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <machine/asm.h>
|
|
|
|
|
2001-06-19 04:26:29 +04:00
|
|
|
#include "abi.h"
|
|
|
|
|
|
|
|
RCSID("$NetBSD: s_scalbnf.S,v 1.5 2001/06/19 00:26:30 fvdl Exp $")
|
1994-08-19 07:56:44 +04:00
|
|
|
|
|
|
|
ENTRY(scalbnf)
|
2001-06-19 04:26:29 +04:00
|
|
|
XMM_TWO_ARG_FLOAT_PROLOGUE
|
|
|
|
fildl ARG_FLOAT_TWO
|
|
|
|
flds ARG_FLOAT_ONE
|
1994-08-19 07:56:44 +04:00
|
|
|
fscale
|
1999-01-02 08:15:40 +03:00
|
|
|
fstp %st(1) /* bug fix for fp stack overflow */
|
2001-06-19 04:26:29 +04:00
|
|
|
XMM_FLOAT_EPILOGUE
|
1994-08-19 07:56:44 +04:00
|
|
|
ret
|