qemu-e2k/tests/tcg/s390x
Thomas Huth f530ba8f8d tests/tcg/s390x: Fix mvc, mvo and pack tests with Clang
These instructions use addressing with a "base address", meaning
that if register r0 is used, it is always treated as zero, no matter
what value is stored in the register. So we have to make sure not
to use register r0 for these instructions in our tests. There was
no problem with GCC so far since it seems to always pick other
registers by default, but Clang likes to chose register r0, too,
so we have to use the "a" constraint to make sure that it does
not pick r0 here.

Message-Id: <20220301093911.1450719-1-thuth@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Thomas Huth <thuth@redhat.com>
2022-03-07 09:04:42 +01:00
..
gdbstub tests/tcg/s390x: Test SIGILL and SIGSEGV handling 2021-09-06 16:23:12 +02:00
Makefile.target Testing and semihosting updates: 2022-03-02 10:46:16 +00:00
csst.c tests/tcg/s390x: Fix alignment of csst parameter list 2019-06-21 15:26:53 +02:00
exrl-trt.c tests/tcg/s390x: Fix EXRL tests 2021-01-21 11:19:45 +01:00
exrl-trtr.c tests/tcg/s390x: Fix EXRL tests 2021-01-21 11:19:45 +01:00
hello-s390x.c tests/tcg: add a simple s390x test 2018-08-28 17:37:01 +02:00
ipm.c target/s390x: fix IPM polluting irrelevant bits 2018-08-28 17:37:01 +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: Tests for Miscellaneous-Instruction-Extensions Facility 3 2022-02-28 11:29:15 +01:00
mie3-sel.c tests/tcg/s390x: Tests for Miscellaneous-Instruction-Extensions Facility 3 2022-02-28 11:29:15 +01:00
mvc.c tests/tcg/s390x: Fix mvc, mvo and pack tests with Clang 2022-03-07 09:04:42 +01:00
mvo.c tests/tcg/s390x: Fix mvc, mvo and pack tests with Clang 2022-03-07 09:04:42 +01:00
pack.c tests/tcg/s390x: Fix mvc, mvo and pack tests with Clang 2022-03-07 09:04:42 +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 SIGILL and SIGSEGV handling 2021-09-06 16:23:12 +02:00
trap.c tests/tcg: Test that compare-and-trap raises SIGFPE 2021-08-03 15:17:38 +02:00