xref: /csrg-svn/lib/libm/mc68881/log10.s (revision 61285)
142222Sbostic/*-
2*61285Sbostic * Copyright (c) 1990, 1993
3*61285Sbostic *	The Regents of the University of California.  All rights reserved.
442222Sbostic *
542222Sbostic * This code is derived from software contributed to Berkeley by
642222Sbostic * the Systems Programming Group of the University of Utah Computer
742222Sbostic * Science Department.
842222Sbostic *
942222Sbostic * %sccs.include.redist.c%
1042222Sbostic *
11*61285Sbostic *	@(#)log10.s	8.1 (Berkeley) 06/04/93
1242222Sbostic */
1342222Sbostic
1442222Sbostic/* log10(x) */
1542222Sbostic
1642222Sbostic	.text
1742222Sbostic	.globl	_log10
1842222Sbostic
1942222Sbostic_log10:
2042222Sbostic	flog10d	sp@(4),fp0
2142222Sbostic	fmoved	fp0,sp@-
2242222Sbostic	movel	sp@+,d0
2342222Sbostic	movel	sp@+,d1
2442222Sbostic	rts
25