target/s390x: Make CKSM raise an exception if R2 is odd
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 24 Jul 2023 08:15:54 +0000 (10:15 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 24 Jul 2023 16:44:47 +0000 (18:44 +0200)
commit761b0aa9381e2f755b9b594f7f3033d564561751
treeb0e4236b8797631e816baefbc7295eaa32670ca8
parent885fc169f09f5915ce037263d20a59eb226d473d
target/s390x: Make CKSM raise an exception if R2 is odd

R2 designates an even-odd register pair; the instruction should raise
a specification exception when R2 is not even.

Cc: qemu-stable@nongnu.org
Fixes: e023e832d0ac ("s390x: translate engine for s390x CPU")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230724082032.66864-2-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
target/s390x/tcg/translate.c