NetBSD/lib/libm/arch/mc68881/e_fmod.S

21 lines
380 B
ArmAsm
Raw Normal View History

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