NetBSD/lib/libm/arch/i387/e_remainder.S

19 lines
275 B
ArmAsm
Raw Normal View History

1994-03-04 20:39:50 +03:00
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
1994-03-04 20:39:50 +03:00
*/
#include <machine/asm.h>
1995-05-09 03:44:37 +04:00
RCSID("$NetBSD: e_remainder.S,v 1.4 1995/05/08 23:49:37 jtc Exp $")
1994-03-04 20:39:50 +03:00
ENTRY(__ieee754_remainder)
fldl 12(%esp)
fldl 4(%esp)
1: fprem1
fstsw %ax
sahf
jp 1b
fstpl %st(1)
ret