Home
last modified time | relevance | path

Searched hist:"57556 b28" (Results 1 – 1 of 1) sorted by relevance

/openbmc/qemu/target/s390x/tcg/
H A Dtranslate.c57556b28 Wed Jan 12 10:50:13 CST 2022 Ilya Leoshkevich <iii@linux.ibm.com> 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>