glibc/sysdeps/i386/fpu/s_ilogbl.S
Ulrich Drepper abfbdde177 Update.
1999-07-14 00:54:57 +00:00

24 lines
330 B
ArmAsm

/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Changes for long double by Ulrich Drepper <drepper@cygnus.com>
* Public domain.
*/
#include <machine/asm.h>
RCSID("$NetBSD: $")
ENTRY(__ilogbl)
fldt 4(%esp)
fxtract
pushl %eax
fstp %st
fistpl (%esp)
fwait
popl %eax
ret
END (__ilogbl)
weak_alias (__ilogbl, ilogbl)