diff options
| author | Ilya Leoshkevich | 2022-03-14 11:42:31 +0100 |
|---|---|---|
| committer | Thomas Huth | 2022-03-16 08:43:10 +0100 |
| commit | 16ed5f14215b20c8dc49b96e2149032ba3238beb (patch) | |
| tree | 9bb7b56bb2cde5a47a26d7d6cc3125c996fb62b9 /include | |
| parent | s390x/tcg: Fix BRASL with a large negative offset (diff) | |
| download | qemu-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')
0 files changed, 0 insertions, 0 deletions
