<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/*
 * Written by J.T. Conklin &lt;jtc@NetBSD.org&gt;.
 * Public domain.
 */

#include &lt;machine/asm.h&gt;

RCSID("$NetBSD: s_ilogbl.S,v 1.1 2011/07/28 22:32:28 joerg Exp $")

#include "abi.h"

ENTRY(ilogbl)
	fldt	ARG_LONG_DOUBLE_ONE
	fxtract
	fstp	%st
#ifdef __i386__
	pushl	%eax
	fistpl	0(%esp)
	popl	%eax
#else
	fistpl	-4(%rsp)
	movl	-4(%rsp), %eax
#endif
	ret
</pre></body></html>