summaryrefslogtreecommitdiff
path: root/lib/libm/arch/mc68881/e_remainderf.S
blob: e3d5d92440b45ffeb62430020ea9685535996b59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/*	$OpenBSD: e_remainderf.S,v 1.1 2011/05/28 21:55:04 martynas Exp $ */
/*
 * Written by J.T. Conklin <jtc@netbsd.org>.
 * Public domain.
 */

#include <machine/asm.h>

ENTRY(remainderf)
	fmoves	sp@(4),fp0
	frems	sp@(8),fp0
	fmoves	fp0,sp@-
	movel	sp@+,d0
	rts