diff options
author | Thomas Huth <thuth@redhat.com> | 2022-03-01 10:39:11 +0100 |
---|---|---|
committer | Thomas Huth <thuth@redhat.com> | 2022-03-07 09:04:42 +0100 |
commit | f530ba8f8d69738b7516432ab2eacd727b79c3ed (patch) | |
tree | 3c8fe409105c50f78d9698758ceb6e5ef41d2be0 /tests/plugin | |
parent | 9d662a6b22a0838a85c5432385f35db2488a33a5 (diff) | |
download | qemu-f530ba8f8d69738b7516432ab2eacd727b79c3ed.zip qemu-f530ba8f8d69738b7516432ab2eacd727b79c3ed.tar.gz qemu-f530ba8f8d69738b7516432ab2eacd727b79c3ed.tar.bz2 |
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>
Diffstat (limited to 'tests/plugin')
0 files changed, 0 insertions, 0 deletions