diff options
author | Richard Henderson <rth@twiddle.net> | 2013-07-30 08:20:43 -1000 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2013-07-31 07:54:21 -0500 |
commit | 1197cbb9eda1dc82e2fa1815ca62bc3de158353e (patch) | |
tree | 5bc0d98905c692aba8aa93de764bb9b8114c5591 /slirp/Makefile.objs | |
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>
Diffstat (limited to 'slirp/Makefile.objs')
0 files changed, 0 insertions, 0 deletions