On 10/30/23 22:32, Ilya Leoshkevich wrote:
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: 4f7403d52b1c ("target-s390: Convert CLC") Closes: https://gitlab.com/qemu-project/qemu/-/issues/1865 Cc: [email protected] Signed-off-by: Ilya Leoshkevich <[email protected]> --- target/s390x/tcg/translate.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-)
Reviewed-by: Richard Henderson <[email protected]> r~
