blob: c7fd4606ad6727854d0fa241103d79a6880ba6b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* $OpenBSD: s_ilogbf.S,v 1.6 2016/09/12 19:47:02 guenther Exp $ */
/*
* Written by J.T. Conklin <jtc@netbsd.org>.
* Public domain.
*/
#include "DEFS.h"
ENTRY(ilogbf)
pushl %ebp
movl %esp,%ebp
subl $4,%esp
flds 8(%ebp)
fxtract
fstp %st
fistpl -4(%ebp)
movl -4(%ebp),%eax
leave
ret
END_STD(ilogbf)
|