Re: [Qemu-devel] [PATCH 03/10] hbitmap: Use non-bitops ctzl

2013-02-14 Thread Paolo Bonzini
Il 14/02/2013 02:47, Richard Henderson ha scritto: > Both uses of ctz have already eliminated zero, and thus the difference > in edge conditions between the two routines is irrelevant. > > Signed-off-by: Richard Henderson > --- > include/qemu/hbitmap.h | 3 ++- > util/hbitmap.c | 3 ++- >

[Qemu-devel] [PATCH 03/10] hbitmap: Use non-bitops ctzl

2013-02-13 Thread Richard Henderson
Both uses of ctz have already eliminated zero, and thus the difference in edge conditions between the two routines is irrelevant. Signed-off-by: Richard Henderson --- include/qemu/hbitmap.h | 3 ++- util/hbitmap.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/in