summary refs log tree commit diff stats
path: root/util/qemu-thread-win32.c
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2017-01-13 19:36:30 +0100
committerLaurent Vivier <laurent@vivier.eu>2017-01-14 10:06:21 +0100
commit695576db2daaf2bdc63e7f6d36038b61caed622a (patch)
tree6f6445c44a336eea367531d3305a1612efc5835a /util/qemu-thread-win32.c
parentfe53c2be8c12da345bd788b949e0b2360e4b3db3 (diff)
downloadfocaccia-qemu-695576db2daaf2bdc63e7f6d36038b61caed622a.tar.gz
focaccia-qemu-695576db2daaf2bdc63e7f6d36038b61caed622a.zip
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>
Diffstat (limited to 'util/qemu-thread-win32.c')
0 files changed, 0 insertions, 0 deletions