qemu/tests/tcg/s390x
Alex Bennée 6ef164188d tests/tcg: finesse the registers check for "hidden" regs
The reason the ppc64 and s390x test where failing was because gdb
hides them although they are still accessible via regnum. We can
re-arrange the test a little bit and include these two arches in our
test.

We also need to be a bit more careful handling remote-registers as the
format isn't easily parsed with pure white space separation. Once we
fold types like "long long" and "long double" into a single word we
can now assert all registers are either listed or elided.

Cc: Ilya Leoshkevich <iii@linux.ibm.com>
Cc:  <qemu-s390x@nongnu.org>
Cc: Nicholas Piggin <npiggin@gmail.com>
Cc: Daniel Henrique Barboza <danielhb413@gmail.com>
Cc:  <qemu-ppc@nongnu.org>
Cc: Luis Machado <luis.machado@arm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20231121153606.542101-1-alex.bennee@linaro.org>
2023-11-23 14:10:06 +00:00
..
gdbstub tests/tcg: clean-up gdb confirm/pagination settings 2023-08-30 14:57:50 +01:00
add-logical-with-carry.c tests/tcg/s390x: Test ADD LOGICAL WITH CARRY 2023-11-07 19:27:08 +01:00
bal.S tests/tcg/s390x: Add bal.S 2023-02-27 09:15:39 +01:00
br-odd.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
branch-relative-long.c tests/tcg/s390x: Use a different PCRel32 notation in branch-relative-long.c 2022-05-04 08:47:19 +02:00
cdsg.c tests/tcg/s390x: Add cdsg.c 2023-02-04 06:19:42 -10:00
cgebra.c tests/tcg/s390x: Test CLGEBR and CGEBRA 2023-07-24 18:44:47 +02:00
cgrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
chrl.c tests/tcg/s390x: Add C(G)HRL test 2023-03-13 09:23:42 +01:00
cksm.S tests/tcg/s390x: Test CKSM 2023-07-24 18:44:47 +02:00
clc.c tests/tcg/s390x: Test CLC with inaccessible second operand 2023-11-07 19:27:08 +01:00
clgebr.c tests/tcg/s390x: Test CLGEBR and CGEBRA 2023-07-24 18:44:47 +02:00
clm.S tests/tcg/s390x: Test CLM 2023-07-24 18:44:47 +02:00
clrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
clst.c tests/tcg/s390x: Add clst.c 2023-02-04 06:19:42 -10:00
console.c tests/tcg/s390x: Enable the multiarch system tests 2023-05-16 09:14:18 +02:00
crl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
csst.c tests/tcg/s390x: Fix alignment of csst parameter list 2019-06-21 15:26:53 +02:00
div.c target/s390x: Use a single return for helper_divs64/u64 2023-02-04 06:19:42 -10:00
epsw.c tests/tcg/s390x: Test EPSW 2023-07-10 15:34:24 +02:00
ex-branch.c tests/tcg/s390x: Test EXECUTE of relative branches 2023-05-16 09:14:18 +02:00
ex-odd.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
ex-relative-long.c tests/tcg/s390x: Add ex-relative-long.c 2023-03-20 09:32:50 +01:00
exrl-ssm-early.S tests/tcg/s390x: Add PSW modification tests 2023-03-20 09:32:50 +01:00
exrl-trt.c tests/tcg/s390x: Fix the exrl-trt* tests with Clang 2022-03-07 09:06:32 +01:00
exrl-trtr.c tests/tcg/s390x: Fix the exrl-trt* tests with Clang 2022-03-07 09:06:32 +01:00
head64.S pc-bios/s390-ccw: Move the stack array into start.S 2023-06-29 20:45:12 +02:00
hello-s390x-asm.S tests/tcg/s390x: Fix test-svc with clang 2023-07-10 15:34:57 +02:00
hello-s390x.c
icm.S tests/tcg/s390x: Test ICM 2023-07-24 18:44:47 +02:00
ipm.c target/s390x: fix IPM polluting irrelevant bits 2018-08-28 17:37:01 +02:00
laalg.c tests/tcg/s390x: Test LAALG with negative cc_src 2023-11-07 19:27:08 +01:00
larl.c tests/tcg/s390x: Test LARL with a large offset 2023-07-10 15:34:24 +02:00
lcbb.c tests/tcg/s390x: Test LCBB 2023-06-05 07:27:23 +02:00
lgrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
llgfrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
locfhr.c tests/tcg/s390x: Test LOCFHR 2023-06-05 07:27:23 +02:00
long-double.c tests/tcg/s390x: Add long-double.c 2023-02-04 06:19:42 -10:00
lpsw.S tests/tcg/s390x: Add PSW modification tests 2023-03-20 09:32:50 +01:00
lpswe-early.S tests/tcg/s390x: Add PSW modification tests 2023-03-20 09:32:50 +01:00
lpswe-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
lra.S tests/tcg/s390x: Test LRA 2023-07-10 15:34:24 +02:00
lrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
Makefile.softmmu-target tests/tcg/s390x: Test precise self-modifying code handling 2023-08-31 19:10:01 +02:00
Makefile.target tests/tcg: finesse the registers check for "hidden" regs 2023-11-23 14:10:06 +00:00
mc.S tests/tcg/s390x: Test MC 2023-07-24 18:44:47 +02:00
mdeb.c tests/tcg/s390x: Test MDEB and MDEBR 2023-07-10 15:34:24 +02:00
mie3-compl.c tests/tcg/s390x: Tests for Miscellaneous-Instruction-Extensions Facility 3 2022-02-28 11:29:15 +01:00
mie3-mvcrl.c tests/tcg/s390x: Test MVCRL with a large value in R0 2023-07-10 15:34:24 +02:00
mie3-sel.c tests/tcg/s390x: Cleanup of mie3 tests. 2022-03-07 09:44:07 +01:00
mvc.c s390x: spelling fixes 2023-07-25 17:13:45 +03:00
mvo.c tests/tcg/s390x: Fix mvc, mvo and pack tests with Clang 2022-03-07 09:04:42 +01:00
mxdb.c tests/tcg/s390x: Test MXDB and MXDBR 2023-06-05 09:48:29 +02:00
noexec.c target/s390x: Make translator stop before the end of a page 2022-09-06 08:04:26 +01:00
pack.c tests/tcg/s390x: Fix mvc, mvo and pack tests with Clang 2022-03-07 09:04:42 +01:00
pgm-specification-softmmu.S tcg: Correct invalid mentions of 'softmmu' by 'system-mode' 2023-10-07 19:02:33 +02:00
pgm-specification-user.c tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
pgm-specification.mak tcg: Correct invalid mentions of 'softmmu' by 'system-mode' 2023-10-07 19:02:33 +02:00
precise-smc-softmmu.S tests/tcg/s390x: Test precise self-modifying code handling 2023-08-31 19:10:01 +02:00
precise-smc-user.c tests/tcg/s390x: Test precise self-modifying code handling 2023-08-31 19:10:01 +02:00
rxsbg.c tests/tcg/s390x: Add rxsbg.c 2023-03-20 09:32:50 +01:00
sam.S tests/tcg/s390x: Add sam.S 2023-02-27 09:15:39 +01:00
shift.c tests/tcg/s390x: Test shift instructions 2022-01-17 08:36:33 +01:00
signals-s390x.c tests/tcg/s390x: Test unwinding from signal handlers 2022-05-23 22:52:27 +02:00
softmmu.ld tcg: Correct invalid mentions of 'softmmu' by 'system-mode' 2023-10-07 19:02:33 +02:00
ssm-early.S tests/tcg/s390x: Add PSW modification tests 2023-03-20 09:32:50 +01:00
stgrl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
stosm-early.S tests/tcg/s390x: Add PSW modification tests 2023-03-20 09:32:50 +01:00
stpq.S tests/tcg/s390x: Test STPQ 2023-07-24 18:44:47 +02:00
strl-unaligned.S tests/tcg/s390x: Test unaligned accesses 2023-03-20 09:32:50 +01:00
trap.c tests/tcg: Test that compare-and-trap raises SIGFPE 2021-08-03 15:17:38 +02:00
unaligned-lowcore.S tests/tcg/s390x: Test unaligned accesses to lowcore 2022-07-29 09:48:01 +01:00
vcksm.c tests/tcg/s390x: Test VCKSM 2023-07-24 18:44:48 +02:00
vfminmax.c tests/tcg/s390x: test signed vfmin/vfmax 2022-07-19 12:49:56 +02:00
vistr.c tests/tcg/s390x: Add a test for the vistr instruction 2022-10-28 08:34:58 +02:00
vrep.c tests/tcg/s390x: Test VREP 2023-08-23 12:06:44 +02:00
vstl.c tests/tcg/s390x: Test VSTL 2023-08-23 12:06:44 +02:00
vx.h tests/tcg/s390x: Test VCKSM 2023-07-24 18:44:48 +02:00
vxeh2_vcvt.c tests/tcg/s390x: Tests for Vector Enhancements Facility 2 2022-05-04 08:47:19 +02:00
vxeh2_vlstr.c tests/tcg/s390x: Tests for Vector Enhancements Facility 2 2022-05-04 08:47:19 +02:00
vxeh2_vs.c tests/tcg/s390x: Tests for Vector Enhancements Facility 2 2022-05-04 08:47:19 +02:00
vxeh2_vstrs.c tests/tcg/s390x: Test VSTRS 2023-08-23 12:07:30 +02:00