repo.or.cz
/
minix3.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Remove building with NOCRYPTO option
[minix3.git]
/
lib
/
libm
/
arch
/
i387
/
s_ilogbl.S
blob
3932dc4910d3c5e630326ce391366e9afdfba4df
1
/*
2
* Written by J.T. Conklin <jtc@NetBSD.org>.
3
* Public domain.
4
*/
5
6
#include <machine/asm.h>
7
8
RCSID("$NetBSD: s_ilogbl.S,v 1.1 2011/07/28 22:32:28 joerg Exp $")
9
10
#include "abi.h"
11
12
ENTRY(ilogbl)
13
fldt ARG_LONG_DOUBLE_ONE
14
fxtract
15
fstp %st
16
#ifdef __i386__
17
pushl %eax
18
fistpl 0(%esp)
19
popl %eax
20
#else
21
fistpl -4(%rsp)
22
movl -4(%rsp), %eax
23
#endif
24
ret