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

17 lines
281 B
ArmAsm
Raw Normal View History

/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include <machine/asm.h>
RCSID("$Id: s_finite.S,v 1.3 1995/04/28 22:44:00 jtc Exp $")
ENTRY(finite)
movl 8(%esp),%eax
andl $0x7ff00000, %eax
cmpl $0x7ff00000, %eax
setnel %al
andl $0x000000ff, %eax
ret