]> git.ipfire.org Git - thirdparty/valgrind.git/commit
s390: Fix code generation for Iop_MullS8/16 and Iop_MullU8/16
authorFlorian Krohm <flo2030@eich-krohm.de>
Tue, 19 Aug 2025 21:11:25 +0000 (21:11 +0000)
committerFlorian Krohm <flo2030@eich-krohm.de>
Tue, 19 Aug 2025 21:11:25 +0000 (21:11 +0000)
commit7c63587b7f6a2cdbd073d92c0a45f197ed993e0a
tree914f8d4da5ebd62a74f0ef51bde93ec8c1c4867f
parent27873587a6e67e37b5692924036d9889b0f044de
s390: Fix code generation for Iop_MullS8/16 and Iop_MullU8/16

Multiplication is performed using 4-byte values.
There were two bugs:
(1) Iop_MullS8/16 operands weren't sign-extended
(2) No shifting and OR'ing required to access the result. r11[32:63] has it.

Found by iropt-test.
VEX/priv/host_s390_isel.c