diff options
author | 2022-01-12 17:50:13 +0100 | |
---|---|---|
committer | 2022-01-17 08:36:33 +0100 | |
commit | 57556b28afde4b039bb12bfc274bd8df9022d946 (patch) | |
tree | 569704b85221875e5e03dcb0265d2f3db70b8613 /util/bufferiszero.c | |
parent | target/s390x: Fix SLDA sign bit index (diff) | |
download | qemu-57556b28afde4b039bb12bfc274bd8df9022d946.tar.xz qemu-57556b28afde4b039bb12bfc274bd8df9022d946.zip |
target/s390x: Fix SRDA CC calculation
SRDA uses r1_D32 for binding the first operand and s64 for setting CC.
cout_s64() relies on o->out being the shift result, however,
wout_r1_D32() clobbers it.
Fix by using a temporary.
Fixes: a79ba3398a0a ("target-s390: Convert SHIFT DOUBLE")
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20220112165016.226996-3-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Diffstat (limited to 'util/bufferiszero.c')
0 files changed, 0 insertions, 0 deletions