diff options
author | Ilya Leoshkevich <iii@linux.ibm.com> | 2023-08-07 18:34:31 +0200 |
---|---|---|
committer | Michael Tokarev <mjt@tls.msk.ru> | 2023-08-23 16:58:41 +0300 |
commit | 880e82ed786c0f9c99d777f2d9c8768c9b22cc43 (patch) | |
tree | 57c56f4d1383e24c400fde61f3b0154918a00118 /qemu-io-cmds.c | |
parent | 5980189e960ead2ee84c0c8053302ebfe982617f (diff) |
target/s390x: Use a 16-bit immediate in VREP
Unlike most other instructions that contain an immediate element index,
VREP's one is 16-bit, and not 4-bit. The code uses only 8 bits, so
using, e.g., 0x101 does not lead to a specification exception.
Fix by checking all 16 bits.
Cc: qemu-stable@nongnu.org
Fixes: 28d08731b1d8 ("s390x/tcg: Implement VECTOR REPLICATE")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230807163459.849766-1-iii@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit 23e87d419f347b6b5f4da3bf70d222acc24cdb64)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Diffstat (limited to 'qemu-io-cmds.c')
0 files changed, 0 insertions, 0 deletions