]> git.proxmox.com Git - mirror_qemu.git/commit
target-arm: A64: Fix shifts into sign bit
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Feb 2015 05:46:08 +0000 (05:46 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Feb 2015 05:46:08 +0000 (05:46 +0000)
commit1743d55c8b38bcee632cf6eb2de81131635bb3d2
tree1f506f206b5eda9625983e147ca7ca0ee48c92ac
parent560739702764d4882662f0e70b584fa5dff7241a
target-arm: A64: Fix shifts into sign bit

Fix attempts to shift into the sign bit of an int, which is undefined
behaviour in C and warned about by the clang sanitizer.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 1423233250-15853-2-git-send-email-peter.maydell@linaro.org
target-arm/translate-a64.c