diff options
Diffstat (limited to 'sysdeps/libm-i387/s_finitef.S')
-rw-r--r-- | sysdeps/libm-i387/s_finitef.S | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/sysdeps/libm-i387/s_finitef.S b/sysdeps/libm-i387/s_finitef.S new file mode 100644 index 0000000..f842d46 --- /dev/null +++ b/sysdeps/libm-i387/s_finitef.S @@ -0,0 +1,17 @@ +/* + * Written by J.T. Conklin <jtc@netbsd.org>. + * Public domain. + */ + +#include <machine/asm.h> + +RCSID("$NetBSD: s_finitef.S,v 1.3 1995/05/09 00:00:02 jtc Exp $") + +ENTRY(__finitef) + movl 4(%esp),%eax + andl $0x7ff00000, %eax + cmpl $0x7ff00000, %eax + setnel %al + andl $0x000000ff, %eax + ret +weak_alias (__finitef, finitef) |