summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorPeter Maydell2013-09-10 20:09:32 +0200
committerPeter Maydell2013-09-10 20:09:32 +0200
commit534df156090539854c2ac819dcdb096d01dab5c1 (patch)
tree73c5847f3ee8b82203d3f327f81112d2efd54eb2 /scripts
parenttarget-arm: Make '-cpu any' available in linux-user mode only (diff)
downloadqemu-534df156090539854c2ac819dcdb096d01dab5c1.tar.gz
qemu-534df156090539854c2ac819dcdb096d01dab5c1.tar.xz
qemu-534df156090539854c2ac819dcdb096d01dab5c1.zip
target-arm: Use sextract32() in branch decode
In the decode of ARM B and BL insns, swap the order of the "append 2 implicit zeros to imm24" and the sign extend, and use the new sextract32() utility function to do the latter. This avoids a direct dependency on the undefined C behaviour of shifting into the sign bit of an integer. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Richard Henderson <rth@twiddle.net> Message-id: 1378391908-22137-2-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions