Ilya Leoshkevich
791b2b6a93
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: 1d706f3141
("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 >
2023-08-23 12:06:52 +02:00
David Miller
1d706f3141
target/s390x: vxeh2: vector string search
...
Signed-off-by: David Miller <dmiller423@gmail.com >
Signed-off-by: Richard Henderson <richard.henderson@linaro.org >
Signed-off-by: David Hildenbrand <david@redhat.com >
Tested-by: Thomas Huth <thuth@redhat.com >
Reviewed-by: David Hildenbrand <david@redhat.com >
Message-Id: <20220428094708.84835-7-david@redhat.com >
Signed-off-by: Thomas Huth <thuth@redhat.com >
2022-05-04 08:47:19 +02:00
Marc-André Lureau
0f9668e0c1
Remove qemu-common.h include from most units
...
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com >
Message-Id: <20220323155743.1585078-33-marcandre.lureau@redhat.com >
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com >
2022-04-06 14:31:55 +02:00
Cho, Yu-Chen
c9274b6bf0
target/s390x: start moving TCG-only code to tcg/
...
move everything related to translate, as well as HELPER code in tcg/
mmu_helper.c stays put for now, as it contains both TCG and KVM code.
After the reshuffling, update MAINTAINERS accordingly.
Make use of the new directory:
target/s390x/tcg/
Signed-off-by: Claudio Fontana <cfontana@suse.de >
Signed-off-by: Cho, Yu-Chen <acho@suse.com >
Acked-by: David Hildenbrand <david@redhat.com >
Acked-by: Cornelia Huck <cohuck@redhat.com >
Reviewed-by: Thomas Huth <thuth@redhat.com >
Message-Id: <20210707105324.23400-8-acho@suse.com >
Signed-off-by: Cornelia Huck <cohuck@redhat.com >
2021-07-07 14:01:56 +02:00