qemu/tests/tcg/s390x
David Hildenbrand d944293d9a tests/tcg/s390x: Fix EXRL tests
The current EXRL tests crash on real machines: we must not use r0 as a base
register for trt/trtr, otherwise the content gets ignored. Also, we must
not use r0 for exrl, otherwise it gets ignored.

Let's use the "a" constraint so we get a general purpose register != r0.
For op2, we can simply specify a memory operand directly via "Q" (Memory
reference without index register and with short displacement).

Fixes: ad8c851d2e ("target/s390x: add EX support for TRT and TRTR")
Signed-off-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20210111163845.18148-5-david@redhat.com>
Signed-off-by: Cornelia Huck <cohuck@redhat.com>
2021-01-21 11:19:45 +01: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
ipm.c target/s390x: fix IPM polluting irrelevant bits 2018-08-28 17:37:01 +02:00
Makefile.target tests/tcg: target/s390x: Test MVC 2019-09-23 09:28:29 +02:00
mvc.c tests/tcg: target/s390x: Test MVC 2019-09-23 09:28:29 +02:00
mvo.c tests/tcg: target/s390x: Test MVO 2019-09-23 09:28:29 +02:00
pack.c target/s390x: fix PACK reading 1 byte less and writing 1 byte more 2018-08-28 17:37:01 +02:00