target/s390x: Fix LAE setting a wrong access register
commite358a25a97c71c39e3513d9b869cdb82052e50b8
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 11 Jan 2024 09:21:26 +0000 (11 10:21 +0100)
committerThomas Huth <thuth@redhat.com>
Thu, 11 Jan 2024 13:13:07 +0000 (11 14:13 +0100)
treed6179d6ddf9a8c28222eb20069e4d0926e26b06b
parente072af19fc06b18065f5081ff71cc7b2e6dca7bf
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>
target/s390x/tcg/translate.c