]> git.proxmox.com Git - mirror_qemu.git/commit
bitops: Use non-bitops ctzl
authorRichard Henderson <rth@twiddle.net>
Thu, 14 Feb 2013 01:47:37 +0000 (17:47 -0800)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 16 Feb 2013 11:12:04 +0000 (11:12 +0000)
commit265ce4a5ca39fb7f74a803dd61bbd9108ca6cdee
treeaa0b0dddfb407ef49504a65a0a69bbb3c6da0cce
parent18331e7c189507513008a2936f5fe79c3d8b8a08
bitops: Use non-bitops ctzl

The use of ctz has already eliminated zero, and thus the difference
in edge conditions between the two routines is irrelevant.

Signed-off-by: Richard Henderson <rth@twiddle.net>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
util/bitops.c