]> git.ipfire.org Git - thirdparty/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)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 7 Jun 2023 08:52:26 +0000 (11:52 +0300)
commitcc271aa410e6179fb2a4db2f3e1e01dc69b8f7c8
tree42fa3e4bce0edeaa7f875c1ac482bd598f6e0db1
parent242efaca9e12d2dbc4dbfae6a0718e978dfa15b1
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>
(cherry picked from commit 3180b173621021c365c256cedf2f5845bd4780d0)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/s390x/tcg/insn-data.h.inc