diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-01-06 03:12:12 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-01-06 11:33:38 -0500 |
commit | d832245d7cc16d50b29c1b708ccbe9c75ac376a3 (patch) | |
tree | 2fc22b6337fc433a6b392e9b008339d8031e8e1c /arch | |
parent | e31b88ba49460653bab87423287bb68743f5de5c (diff) |
[PATCH] x86: fls() in asm
There is a single instruction on i386 to find largest set bit; so it makes
sense to use it (like we use bfs for ffs()).
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions