summaryrefslogtreecommitdiffstats
path: root/include/exec
diff options
context:
space:
mode:
authorIlya Leoshkevich2022-03-14 11:42:31 +0100
committerThomas Huth2022-03-16 08:43:10 +0100
commit16ed5f14215b20c8dc49b96e2149032ba3238beb (patch)
tree9bb7b56bb2cde5a47a26d7d6cc3125c996fb62b9 /include/exec
parents390x/tcg: Fix BRASL with a large negative offset (diff)
downloadqemu-16ed5f14215b20c8dc49b96e2149032ba3238beb.tar.gz
qemu-16ed5f14215b20c8dc49b96e2149032ba3238beb.tar.xz
qemu-16ed5f14215b20c8dc49b96e2149032ba3238beb.zip
s390x/tcg: Fix BRCL with a large negative offset
When RI2 is 0x80000000, qemu enters an infinite loop instead of jumping backwards. Fix by adding a missing cast, like in in2_ri2(). Fixes: 7233f2ed1717 ("target-s390: Convert BRANCH ON CONDITION") Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Message-Id: <20220314104232.675863-3-iii@linux.ibm.com> Reviewed-by: David Hildenbrand <david@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'include/exec')
0 files changed, 0 insertions, 0 deletions