diff options
author | David Hildenbrand <david@redhat.com> | 2021-01-11 17:38:44 +0100 |
---|---|---|
committer | Cornelia Huck <cohuck@redhat.com> | 2021-01-21 11:19:45 +0100 |
commit | d944293d9ab0b8338fbc681e6e5d8ac7829a702f (patch) | |
tree | 023e7cdc2d13a4a3e947330a29293de1a3a1a9ee /python/qemu | |
parent | 401bf46779d7628438337007d82969da7b7e396f (diff) | |
download | qemu-d944293d9ab0b8338fbc681e6e5d8ac7829a702f.zip qemu-d944293d9ab0b8338fbc681e6e5d8ac7829a702f.tar.gz qemu-d944293d9ab0b8338fbc681e6e5d8ac7829a702f.tar.bz2 |
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: ad8c851d2e77 ("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>
Diffstat (limited to 'python/qemu')
0 files changed, 0 insertions, 0 deletions