projects
/
dragonfly.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Add more files to the architecture specific section.
[dragonfly.git]
/
lib
/
msun
/
i387
/
s_ilogbf.S
1
/*
2
* Written by J.T. Conklin <jtc@NetBSD.org>.
3
* Public domain.
4
*/
5
6
#include <machine/asm.h>
7
8
#if 0
9
RCSID("$NetBSD: s_ilogbf.S,v 1.5 2001/06/19 00:26:30 fvdl Exp $")
10
#endif
11
RCSID("$DragonFly: src/lib/msun/i387/Attic/s_ilogbf.S,v 1.1 2004/12/29 12:55:50 asmodai Exp $")
12
13
ENTRY(ilogbf)
14
#ifdef __i386__
15
pushl %ebp
16
movl %esp,%ebp
17
subl $4,%esp
18
19
flds 8(%ebp)
20
fxtract
21
fstp %st
22
23
fistpl -4(%ebp)
24
movl -4(%ebp),%eax
25
26
leave
27
#else
28
movss %xmm0,-4(%rsp)
29
flds -4(%rsp)
30
fxtract
31
fstp %st
32
fistpl -4(%rsp)
33
movl -4(%rsp),%eax
34
#endif
35
ret