qemu/tests/tcg
Richard Henderson b97028b8c5 target/riscv: Set env->bins in gen_exception_illegal
While we set env->bins when unwinding for ILLEGAL_INST,
from e.g. csrrw, we weren't setting it for immediately
illegal instructions.

Add a testcase for mtval via both exception paths.

Resolves: https://gitlab.com/qemu-project/qemu/-/issues/1060
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Message-Id: <20220604231004.49990-2-richard.henderson@linaro.org>
Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
2022-07-03 10:03:20 +10:00
..
aarch64 target/arm: Enable SCTLR_EL1.BT0 for aarch64-linux-user 2022-05-05 09:35:50 +01:00
alpha tests/tcg: move configuration to a sub-shell script 2019-09-10 14:09:00 +01:00
arm test/tcg/arm: Use -mfloat-abi=soft for test-armv6m-undef 2022-06-14 00:14:59 +01: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/i386: Use explicit suffix on fist insns 2022-06-14 00:15:04 +01:00
loongarch64 tests/tcg/loongarch64: Add hello/memory test in loongarch64 system 2022-06-06 18:14:13 +00:00
m68k tests/tcg/m68k: Add trap.c 2022-06-02 09:35:03 +02: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: Test overflow conditions 2022-06-03 08:03:28 +02:00
nios2 tests/tcg/nios2: Add test-shadow-1 2022-04-26 08:17:10 -07: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 tests/tcg: add compiler test variables when using containers 2022-04-20 16:04:20 +01:00
ppc64le tests/tcg: add compiler test variables when using containers 2022-04-20 16:04:20 +01:00
riscv64 target/riscv: Set env->bins in gen_exception_illegal 2022-07-03 10:03:20 +10:00
s390x tests/tcg/s390x: Test unwinding from signal handlers 2022-05-23 22:52:27 +02: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 Fix 'writeable' typos 2022-06-08 19:38:47 +01:00
xtensa tests/tcg/xtensa: fix vectors and checks in timer test 2022-05-06 15:27:40 -07:00
Makefile.target tests/tcg: isolate from QEMU's config-host.mak 2022-04-20 16:04:20 +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".