aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/qapi/source.py
diff options
context:
space:
mode:
authorIlya Leoshkevich <iii@linux.ibm.com>2023-08-05 01:03:18 +0200
committerThomas Huth <thuth@redhat.com>2023-08-23 12:06:52 +0200
commit791b2b6a930273db694b9ba48bbb406e78715927 (patch)
treefaa574bbd1fa9e6c49f053899c8792a9d1d302e3 /scripts/qapi/source.py
parentlinux-user/elfload: Enable vxe2 on s390x (diff)
downloadqemu-791b2b6a930273db694b9ba48bbb406e78715927.tar.xz
qemu-791b2b6a930273db694b9ba48bbb406e78715927.zip
target/s390x: Fix the "ignored match" case in VSTRS
Currently the emulation of VSTRS recognizes partial matches in presence of \0 in the haystack, which, according to PoP, is not correct: If the ZS flag is one and a zero byte was detected in the second operand, then there can not be a partial match ... Add a check for this. While at it, fold a number of explicitly handled special cases into the generic logic. Cc: qemu-stable@nongnu.org Reported-by: Claudio Fontana <cfontana@suse.de> Closes: https://lists.gnu.org/archive/html/qemu-devel/2023-08/msg00633.html Fixes: 1d706f314191 ("target/s390x: vxeh2: vector string search") Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com> Message-Id: <20230804233748.218935-3-iii@linux.ibm.com> Tested-by: Claudio Fontana <cfontana@suse.de> Acked-by: David Hildenbrand <david@redhat.com> Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions