]> git.proxmox.com Git - mirror_qemu.git/commit
target/arm: Fix 32-bit SMOPA
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 5 Mar 2024 16:39:31 +0000 (06:39 -1000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 7 Mar 2024 12:49:16 +0000 (12:49 +0000)
commitd572bcb222010b38b382871a23b2f38e2c3f4d2d
tree834c1a8de70a4fcfee1ea74b660b33eb0c2c3117
parentddcc4b4b5250f800d500ef1217b28c39812bac2a
target/arm: Fix 32-bit SMOPA

While the 8-bit input elements are sequential in the input vector,
the 32-bit output elements are not sequential in the output matrix.
Do not attempt to compute 2 32-bit outputs at the same time.

Cc: qemu-stable@nongnu.org
Fixes: 23a5e3859f5 ("target/arm: Implement SME integer outer product")
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2083
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-id: 20240305163931.242795-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target/arm/tcg/sme_helper.c
tests/tcg/aarch64/Makefile.target
tests/tcg/aarch64/sme-smopa-1.c [new file with mode: 0644]
tests/tcg/aarch64/sme-smopa-2.c [new file with mode: 0644]