qemu-patch-raspberry4/target
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
..
alpha target-alpha: Use ctpop helper 2017-01-10 08:48:56 -08:00
arm x86 and machine queue, 2017-01-17 2017-01-13 14:38:21 +00:00
cris target-cris: Use clz opcode 2017-01-10 08:06:11 -08:00
i386 x86 and machine queue, 2017-01-17 2017-01-13 14:38:21 +00:00
lm32 Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
m68k target-m68k: fix gen_flush_flags() 2017-01-14 10:06:21 +01:00
microblaze target-microblaze: Use clz opcode 2017-01-10 08:06:11 -08:00
mips target-mips: Use clz opcode 2017-01-10 08:06:11 -08:00
moxie Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
openrisc target-openrisc: Use clz and ctz opcodes 2017-01-10 08:06:11 -08:00
ppc x86 and machine queue, 2017-01-17 2017-01-13 14:38:21 +00:00
s390x x86 and machine queue, 2017-01-17 2017-01-13 14:38:21 +00:00
sh4 Move target-* CPU file into a target/ folder 2016-12-20 21:52:12 +01:00
sparc target-sparc: Use ctpop helper 2017-01-10 08:49:55 -08:00
tilegx target-tilegx: Use ctpop helper 2017-01-10 08:49:59 -08:00
tricore TriCore FPU patches 2017-01-12 18:29:49 +00:00
unicore32 target-unicore32: Use clz opcode 2017-01-10 08:06:11 -08:00
xtensa target-xtensa: Use clrsb helper 2017-01-10 08:47:48 -08:00