qemu/target
Ilya Leoshkevich 88b778e4c2 target/s390x: Fix CLC corrupting cc_src
CLC updates cc_src before accessing the second operand; if the latter
is inaccessible, the former ends up containing a bogus value.

Fix by reading cc_src into a temporary first.

Fixes: 4f7403d52b ("target-s390: Convert CLC")
Closes: https://gitlab.com/qemu-project/qemu/-/issues/1865
Cc: qemu-stable@nongnu.org
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-ID: <20231106093605.1349201-2-iii@linux.ibm.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
(cherry picked from commit aba2ec341c6d20c8dc3e6ecf87fa7c1a71e30c1e)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
2023-11-19 21:15:06 +03:00
..
alpha
arm target/arm: Fix A64 LDRA immediate decode 2023-11-09 16:39:13 +03:00
avr
cris
hexagon target/hexagon: avoid invalid escape in Python string 2023-10-19 14:52:59 +03:00
hppa
i386 hw/xen: select kernel mode for per-vCPU event channel upcall vector 2023-11-09 16:39:13 +03:00
loongarch
m68k
microblaze
mips target/mips: Fix TX79 LQ/SQ opcodes 2023-11-19 21:15:06 +03:00
nios2
openrisc
ppc target/ppc: Fix LQ, STQ register-pair order for big-endian 2023-09-21 19:35:19 +03:00
riscv target/riscv: Fix vfwmaccbf16.vf 2023-10-13 18:22:57 +03:00
rx
s390x target/s390x: Fix CLC corrupting cc_src 2023-11-19 21:15:06 +03:00
sh4
sparc target/sparc: Clear may_lookup for npc == DYNAMIC_PC 2023-10-29 10:14:02 +03:00
tricore target/tricore: Fix RCPW/RRPW_INSERT insns for width = 0 2023-10-03 02:05:55 +03:00
xtensa
Kconfig
meson.build