Skip to content
Commit 9f264be6 authored by Paul Mackerras's avatar Paul Mackerras
Browse files

[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: default avatarPaul Mackerras <paulus@samba.org>
parent 945feb17
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment