NetBSD/lib/libm/arch/mc68881/e_fmod.S
1999-11-10 16:45:33 +00:00

21 lines
380 B
ArmAsm

/* $NetBSD: e_fmod.S,v 1.3 1999/11/10 16:45:38 thorpej Exp $ */
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
RCSID("$NetBSD: e_fmod.S,v 1.3 1999/11/10 16:45:38 thorpej Exp $")
ENTRY(__ieee754_fmod)
fmoved %sp@(4),%fp0
fmodd %sp@(12),%fp0
#ifndef __SVR4_ABI__
fmoved %fp0,%sp@-
movel %sp@+,%d0
movel %sp@+,%d1
#endif
rts