aboutsummaryrefslogtreecommitdiff
path: root/migration.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2013-07-30 08:20:43 -1000
committerAnthony Liguori <aliguori@us.ibm.com>2013-07-31 07:54:21 -0500
commit1197cbb9eda1dc82e2fa1815ca62bc3de158353e (patch)
tree5bc0d98905c692aba8aa93de764bb9b8114c5591 /migration.c
parente76c756fd3d3b652c6a65ebe16f2bfb25b8d025e (diff)
downloadqemu-arm-1197cbb9eda1dc82e2fa1815ca62bc3de158353e.tar.gz
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 'migration.c')
0 files changed, 0 insertions, 0 deletions