forked from KolibriOS/kolibrios
16 lines
166 B
ArmAsm
16 lines
166 B
ArmAsm
|
#include<libc/asm.h>
|
||
|
MK_C_SYM(ilogbf)
|
||
|
pushl %esp
|
||
|
movl %esp,%ebp
|
||
|
subl $4,%esp
|
||
|
|
||
|
flds 8(%ebp)
|
||
|
fxtract
|
||
|
fstpl %st
|
||
|
|
||
|
fistpl -4(%ebp)
|
||
|
movl -4(%ebp),%eax
|
||
|
|
||
|
leave
|
||
|
ret
|