|
| From: | Peter Maydell |
| Subject: | Re: [Qemu-devel] [PATCH v3] bitops: unify bitops_ffsl with the one in host-utils.h, call it bitops_ctzl |
| Date: | Sun, 3 Feb 2013 10:32:29 +0000 |
On 3 February 2013 03:47, Paolo Bonzini <address@hidden> wrote: > Actually I'm pretty sure that var == 0 is not possible in hbitmap. But > I still prefer having total functions, and also keeping the function > monotonic. Er, ctz() isn't monotonic: 1 => 0 2 => 1 3 => 0 4 => 2 etc... -- PMM
| [Prev in Thread] | Current Thread | [Next in Thread] |