]> git.proxmox.com Git - mirror_qemu.git/commit
target/s390x: Fix LAE setting a wrong access register
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 11 Jan 2024 09:21:26 +0000 (10:21 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 13 Jan 2024 08:20:14 +0000 (11:20 +0300)
commit08b37c90e6047d6167b3ec511cd47375c9ce1427
tree2f320b1fd03e06f1cfe907a2f6ac1ca6d4bfa596
parent0b27f20d6a62456ae94293deb210092e6ec9949d
target/s390x: Fix LAE setting a wrong access register

LAE should set the access register corresponding to the first operand,
instead, it always modifies access register 1.

Co-developed-by: Ido Plat <Ido.Plat@ibm.com>
Cc: qemu-stable@nongnu.org
Fixes: a1c7610a6879 ("target-s390x: implement LAY and LAEY instructions")
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-ID: <20240111092328.929421-2-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit e358a25a97c71c39e3513d9b869cdb82052e50b8)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/s390x/tcg/translate.c