]> git.ipfire.org Git - thirdparty/valgrind.git/commit
Bug 494252 - s390x: Fix disassembly for LOCHI and friends
authorFlorian Krohm <flo2030@eich-krohm.de>
Wed, 9 Oct 2024 15:10:08 +0000 (17:10 +0200)
committerAndreas Arnez <arnez@linux.ibm.com>
Wed, 9 Oct 2024 15:10:08 +0000 (17:10 +0200)
commit61edfcd3c7b49033ec3e8df6470fad4c59cf0151
tree03ac98322e4d7d7ee5ef034b3f401d7f8bde4d6f
parent943669f4ea16381154ec0cb26237e901d34e6d83
Bug 494252 - s390x: Fix disassembly for LOCHI and friends

The disassembly for LOCHI, LOCGHI, and LOCHHI is bogus.  For instance, the
instruction

    lochi  %r3,7,5

is disassembled as

    lochi  %r5,3,0,.+10

instead of

    lochinhe %r3,7

It seems that s390_format_RIE_RUPIX was copy-pasted from
s390_format_RIS_RUPI without adjusting it appropriately.  Fix this.

Reviewed-by: Andreas Arnez <arnez@linux.ibm.com>
NEWS
VEX/priv/guest_s390_toIR.c