]> err.no Git - linux-2.6/commit
[POWERPC] Optimize fls64() on 64-bit processors
authorPaul Mackerras <paulus@samba.org>
Fri, 18 Apr 2008 04:26:08 +0000 (14:26 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 18 Apr 2008 06:25:15 +0000 (16:25 +1000)
commit9f264be6101c42cb9e471c58322fb83a5cde1461
tree5d96ec582d5483c67e5511f0aa0c61d869a48640
parent945feb174b14e7098cc7ecf0cf4768d35bc52f9c
[POWERPC] Optimize fls64() on 64-bit processors

64-bit powerpc processors can find the leftmost 1 bit in a 64-bit
doubleword in one instruction, so use that rather than using the
generic fls64(), which does two 32-bit fls() calls.

Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/bitops.h