xref: /csrg-svn/lib/libm/mc68881/log.s (revision 42221)
1*42221Sbostic/*-
2*42221Sbostic * Copyright (c) 1990 The Regents of the University of California.
3*42221Sbostic * All rights reserved.
4*42221Sbostic *
5*42221Sbostic * This code is derived from software contributed to Berkeley by
6*42221Sbostic * the Systems Programming Group of the University of Utah Computer
7*42221Sbostic * Science Department.
8*42221Sbostic *
9*42221Sbostic * %sccs.include.redist.c%
10*42221Sbostic *
11*42221Sbostic *	@(#)log.s	5.1 (Berkeley) 05/17/90
12*42221Sbostic */
13*42221Sbostic
14*42221Sbostic/* log(x) */
15*42221Sbostic
16*42221Sbostic	.text
17*42221Sbostic	.globl	_log
18*42221Sbostic
19*42221Sbostic_log:
20*42221Sbostic	flognd	sp@(4),fp0
21*42221Sbostic	fmoved	fp0,sp@-
22*42221Sbostic	movel	sp@+,d0
23*42221Sbostic	movel	sp@+,d1
24*42221Sbostic	rts
25