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

s390x/tcg: Fix BRASL 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: 8ac33cdb ("Convert BRANCH AND SAVE")
Signed-off-by: default avatarIlya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20220314104232.675863-2-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 d0a17829
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