target/s390x: Fix ICM with M3=0
commita2025557ed4d8d5e6a4d0dd681717c390f51f5be
authorIlya Leoshkevich <iii@linux.ibm.com>
Mon, 24 Jul 2023 08:15:57 +0000 (24 10:15 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 24 Jul 2023 16:44:47 +0000 (24 18:44 +0200)
tree254ca1b38fd50848cd60d026115ed526a461f269
parent53684e344a27da770acc9012740334154ddea24f
target/s390x: Fix ICM with M3=0

When the mask is zero, access exceptions should still be recognized for
1 byte at the second-operand address. CC should be set to 0.

Cc: qemu-stable@nongnu.org
Fixes: e023e832d0ac ("s390x: translate engine for s390x CPU")
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230724082032.66864-5-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/tcg/translate.c