qemu/tests/tcg
Richard Henderson b17ab4705c target/arm: Fix sve2 ldnt1 and stnt1
For both ldnt1 and stnt1, the meaning of the Rn and Rm are different
from ld1 and st1: the vector and integer registers are reversed, and
the integer register 31 refers to XZR instead of SP.

Secondly, the 64-bit version of ldnt1 was being interpreted as
32-bit unpacked unscaled offset instead of 64-bit unscaled offset,
which discarded the upper 32 bits of the address coming from
the vector argument.

Thirdly, validate that the memory element size is in range for the
vector element size for ldnt1.  For ld1, we do this via independent
decode patterns, but for ldnt1 we need to do it manually.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/826
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-id: 20220308031655.240710-1-richard.henderson@linaro.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
2022-03-18 10:55:15 +00:00
..
aarch64 target/arm: Fix sve2 ldnt1 and stnt1 2022-03-18 10:55:15 +00:00
alpha tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
arm tests/tcg: add vectorised sha512 versions 2022-02-28 16:42:35 +00:00
cris tests/tcg: add a multiarch linux-user gdb test 2020-05-06 09:29:26 +01:00
hexagon Hexagon (target/hexagon) assignment to c4 should wait until packet commit 2022-03-12 09:14:22 -08:00
hppa target/hppa: Fix atomic_store_3 for STBY 2021-12-30 21:40:47 -08:00
i386 tests/tcg: add vectorised sha512 versions 2022-02-28 16:42:35 +00:00
m68k tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
minilib Remove leading underscores from QEMU defines 2021-06-21 05:49:01 +02:00
mips tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
multiarch tests/tcg: add sha512 test 2022-02-28 16:42:30 +00:00
nios2 tests/tcg: enable debian-nios2-cross for test building 2021-11-04 10:32:01 +00:00
openrisc target/openrisc: Rename the cpu from or32 to or1k 2017-02-14 08:14:58 +11:00
ppc tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
ppc64 target/ppc: fix xxspltw for big endian hosts 2022-03-14 15:57:17 +01:00
ppc64le target/ppc: fix xxspltw for big endian hosts 2022-03-14 15:57:17 +01:00
riscv64 tests/tcg/riscv64: Add test for division 2021-09-01 11:59:12 +10:00
s390x tests/tcg/s390x: Test BRASL and BRCL with large negative offsets 2022-03-16 08:43:10 +01:00
sh4 tests/tcg: completely disable threadcount for sh4 2022-02-28 16:42:35 +00:00
sparc64 tests/tcg/sparc64: Re-enable linux-test 2021-05-15 21:43:23 +02:00
tricore tests/tcg/tricore: Add muls test 2021-05-18 09:36:21 +01:00
x86_64 tests/tcg: add vectorised sha512 versions 2022-02-28 16:42:35 +00:00
xtensa target/xtensa: clean up unaligned access 2021-05-20 13:02:58 -07:00
configure.sh target/arm: Fix sve2 ldnt1 and stnt1 2022-03-18 10:55:15 +00:00
Makefile.prereqs tests/tcg: ensure we re-configure if configure.sh is updated 2019-12-19 08:20:16 +00:00
Makefile.qemu tests/tcg: Add docker_as and docker_ld cmds 2021-05-18 09:36:21 +01:00
Makefile.target tests/tcg: Fix target-specific Makefile variables path for user-mode 2022-01-12 14:09:06 +01:00
README Drop the deprecated lm32 target 2021-05-12 18:20:25 +02:00

This directory contains various interesting guest programs for
regression testing. Tests are either multi-arch, meaning they can be
built for all guest architectures that support linux-user executable,
or they are architecture specific.

CRIS
====
The testsuite for CRIS is in tests/tcg/cris.  You can run it
with "make test-cris".