target/s390x: Fix CLFIT and CLGIT immediate size
commitd324c21ba0b84b3033baa097e44a7fbbec815fad
authorIlya Leoshkevich <iii@linux.ibm.com>
Wed, 17 Aug 2022 16:15:29 +0000 (17 18:15 +0200)
committerThomas Huth <thuth@redhat.com>
Thu, 25 Aug 2022 19:59:04 +0000 (25 21:59 +0200)
treec1eaedf50308b1d7f1e671a58486958feee33cd3
parent1d41de5f0524b00a3e1ac0a5b66958466f4332fa
target/s390x: Fix CLFIT and CLGIT immediate size

I2 is 16 bits, not 32.

Found by running valgrind's none/tests/s390x/traps.

Fixes: 1c2687518235 ("target-s390: Implement COMPARE AND TRAP")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20220817161529.597414-1-iii@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
target/s390x/tcg/insn-data.def