]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/s390x: Fix VSTL with a large length
authorIlya Leoshkevich <iii@linux.ibm.com>
Fri, 4 Aug 2023 23:55:33 +0000 (01:55 +0200)
committerMichael Tokarev <mjt@tls.msk.ru>
Wed, 23 Aug 2023 13:58:41 +0000 (16:58 +0300)
commitc12eddbd486b815307fe049664e3dbbaad7a1023
tree183bfbbd2e4c75c778c4eec0adbdd08206e2b8ae
parent880e82ed786c0f9c99d777f2d9c8768c9b22cc43
target/s390x: Fix VSTL with a large length

The length is always truncated to 16 bytes. Do not probe more than
that.

Cc: qemu-stable@nongnu.org
Fixes: 0e0a5b49ad58 ("s390x/tcg: Implement VECTOR STORE WITH LENGTH")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Message-Id: <20230804235624.263260-1-iii@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit 6db3518ba4fcddd71049718f138552999f0d97b4)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
target/s390x/tcg/vec_helper.c