commit | 1197cbb9eda1dc82e2fa1815ca62bc3de158353e | [log] [tgz] |
---|---|---|
author | Richard Henderson <rth@twiddle.net> | Tue Jul 30 08:20:43 2013 -1000 |
committer | Anthony Liguori <aliguori@us.ibm.com> | Wed Jul 31 07:54:21 2013 -0500 |
tree | 5bc0d98905c692aba8aa93de764bb9b8114c5591 | |
parent | e76c756fd3d3b652c6a65ebe16f2bfb25b8d025e [diff] |
qdev: Use clz in print_size We can compute a floor log2 value with clz rather than a division loop. Signed-off-by: Richard Henderson <rth@twiddle.net> Message-id: 1375208443-17288-3-git-send-email-rth@twiddle.net Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>