]> git.ipfire.org Git - thirdparty/qemu.git/commit
target/arm: Fix SME full tile indexing
authorRichard Henderson <richard.henderson@linaro.org>
Tue, 4 Jul 2023 13:08:48 +0000 (14:08 +0100)
committerMichael Tokarev <mjt@tls.msk.ru>
Sat, 8 Jul 2023 06:17:22 +0000 (09:17 +0300)
commitfb64b62378fe8985a1c2cacca0cf2102e20f1eab
treeef7dfcd37c0bbecdc62ae1519c31c59e51f9e690
parentd2402a83a7c9e714f03d954f3074eab504b49b9d
target/arm: Fix SME full tile indexing

For the outer product set of insns, which take an entire matrix
tile as output, the argument is not a combined tile+column.
Therefore using get_tile_rowcol was incorrect, as we extracted
the tile number from itself.

The test case relies only on assembler support for SME, since
no release of GCC recognizes -march=armv9-a+sme yet.

Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1620
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20230622151201.1578522-5-richard.henderson@linaro.org
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
[PMM: dropped now-unneeded changes to sysregs CFLAGS]
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
(cherry picked from commit 1f51573f7925b80e79a29f87c7d9d6ead60960c0)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
(Mjt: fixup context in tests/tcg/aarch64/Makefile.target)
target/arm/tcg/translate-sme.c
tests/tcg/aarch64/Makefile.target
tests/tcg/aarch64/sme-outprod1.c [new file with mode: 0644]