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

#include <machine/asm.h>

ENTRY(__ieee754_remainder)
	fmoved	sp@(4),fp0
	fremd	sp@(12),fp0
	fmoved	fp0,sp@-
	movel	sp@+,d0
	movel	sp@+,d1
	rts