Skip to content
Snippets Groups Projects
Commit 16ed5f14 authored by Ilya Leoshkevich's avatar Ilya Leoshkevich Committed by Thomas Huth
Browse files

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: 7233f2ed ("target-s390: Convert BRANCH ON CONDITION")
Signed-off-by: default avatarIlya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20220314104232.675863-3-iii@linux.ibm.com>
Reviewed-by: default avatarDavid Hildenbrand <david@redhat.com>
Reviewed-by: default avatarRichard Henderson <richard.henderson@linaro.org>
Signed-off-by: default avatarThomas Huth <thuth@redhat.com>
parent fc3dd86a
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment