repo.or.cz
/
nyanglibc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
clarify the purpose of this project
[nyanglibc.git]
/
string
/
ffs.s
blob
5d6f313d334f16b05a9df1eb15a7bfcb14543510
1
.text
2
.p2align 4,,15
3
.globl __ffs
4
.hidden __ffs
5
.type __ffs, @function
6
__ffs
:
7
movl $
-
1
, %
edx
8
#APP
9
# 31 "../sysdeps/x86_64/ffs.c" 1
10
bsfl
%
edi
,%
eax
11
cmovel
%
edx
,%
eax
12
13
# 0 "" 2
14
#NO_APP
15
addl $
1
, %
eax
16
ret
17
.size __ffs, .-__ffs
18
.weak ffs
19
.hidden ffs
20
.set ffs,__ffs