qemu-patch-raspberry4/target/m68k
Laurent Vivier 695576db2d target-m68k: fix gen_flush_flags()
gen_flush_flags() is setting unconditionally cc_op_synced to 1
and s->cc_op to CC_OP_FLAGS, whereas env->cc_op can be set
to something else by a previous tcg fragment.

We fix that by not setting cc_op_synced to 1
(except for gen_helper_flush_flags() that updates env->cc_op)

FIX: https://github.com/vivier/qemu-m68k/issues/19

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Richard Henderson <rth@twiddle.net>
Message-Id: <1484332593-16782-3-git-send-email-laurent@vivier.eu>
2017-01-14 10:06:21 +01:00
..
cpu-qom.h Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
cpu.h target-m68k: Implement bitfield ops for memory 2017-01-14 10:06:21 +01:00
gdbstub.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
helper.c target-m68k: Inline shifts 2016-12-27 18:28:40 +01:00
helper.h target-m68k: Implement bfffo 2017-01-14 10:06:21 +01:00
m68k-semi.c Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
Makefile.objs Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
op_helper.c target-m68k: Implement bfffo 2017-01-14 10:06:21 +01:00
qregs.def target-m68k: add 680x0 divu/divs variants 2016-12-27 18:16:42 +01:00
translate.c target-m68k: fix gen_flush_flags() 2017-01-14 10:06:21 +01:00