2003-07-26 23:24:24 +04:00
|
|
|
/* $NetBSD: e_scalb.S,v 1.9 2003/07/26 19:25:05 salo Exp $ */
|
1999-11-10 19:45:33 +03:00
|
|
|
|
1995-02-18 04:24:42 +03:00
|
|
|
/*
|
2003-07-26 23:24:24 +04:00
|
|
|
* Written by J.T. Conklin <jtc@NetBSD.org>.
|
1995-05-12 03:03:44 +04:00
|
|
|
* Public domain.
|
1995-02-18 04:24:42 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include <machine/asm.h>
|
|
|
|
|
2003-07-26 23:24:24 +04:00
|
|
|
RCSID("$NetBSD: e_scalb.S,v 1.9 2003/07/26 19:25:05 salo Exp $")
|
1995-02-18 04:24:42 +03:00
|
|
|
|
|
|
|
ENTRY(__ieee754_scalb)
|
1999-11-10 19:45:33 +03:00
|
|
|
fmoved %sp@(4),%fp0
|
|
|
|
fscaled %sp@(12),%fp0
|
1999-08-15 22:45:18 +04:00
|
|
|
#ifndef __SVR4_ABI__
|
1999-11-10 19:45:33 +03:00
|
|
|
fmoved %fp0,%sp@-
|
|
|
|
movel %sp@+,%d0
|
|
|
|
movel %sp@+,%d1
|
1999-08-15 22:45:18 +04:00
|
|
|
#endif
|
1995-02-18 04:24:42 +03:00
|
|
|
rts
|