24 lines
330 B
ArmAsm
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)
|