diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2015-07-24 13:33:10 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2015-09-07 14:19:00 +0100 |
commit | 6554f5c03793bb8a3d5dedcebf758a1694fa186c (patch) | |
tree | 3a88b2862a1dd6454fbd4a82cd376fd05c3392e0 /disas | |
parent | 26efcec158a87133bb6255ae7d3127a5fa6e66fd (diff) | |
download | hqemu-6554f5c03793bb8a3d5dedcebf758a1694fa186c.zip hqemu-6554f5c03793bb8a3d5dedcebf758a1694fa186c.tar.gz |
exec.c: Use pow2floor() rather than hand-calculation
Use pow2floor() to round down to the nearest power of 2,
rather than an inline calculation.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Message-id: 1437741192-20955-5-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'disas')
0 files changed, 0 insertions, 0 deletions