]> git.proxmox.com Git - mirror_qemu.git/commit
target/s390x: Fix LOCFHR taking the wrong half of R2
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 26 May 2023 18:12:39 +0000 (20:12 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 5 Jun 2023 05:27:23 +0000 (07:27 +0200)
commit3180b173621021c365c256cedf2f5845bd4780d0
treeb9ab0fc1bb012b4f834123c736963a66493d9d2c
parent05d000fb4dcac4bc02ffa08fcf14b51683b878f6
target/s390x: Fix LOCFHR taking the wrong half of R2

LOCFHR should write top-to-top, but QEMU erroneously writes
bottom-to-top.

Fixes: 45aa9aa3b773 ("target/s390x: Implement load-on-condition-2 insns")
Cc: qemu-stable@nongnu.org
Reported-by: Mikhail Mitskevich <mitskevichmn@gmail.com>
Closes: https://gitlab.com/qemu-project/qemu/-/issues/1668
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230526181240.1425579-4-iii@linux.ibm.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/tcg/insn-data.h.inc