diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2012-10-05 18:29:21 +0200 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2013-02-18 15:03:56 -0800 |
commit | c7b3c87397a3458d3d26499c483e0badaf79849c (patch) | |
tree | d0babb35a2ab565450cb4515f43fbf8c4fce3354 /target-i386/cpu.h | |
parent | 5bdb91b0dd66b7e0fdfc801601c433ad4752aeb0 (diff) |
target-i386: factor gen_op_set_cc_op/tcg_gen_discard_tl around computing flags
Before computing flags we need to store the cc_op to memory. Move this
to gen_compute_eflags_c and gen_compute_eflags rather than doing it all
over the place.
Alo, after computing the flags in cpu_cc_src we are in EFLAGS mode.
Set s->cc_op and discard cpu_cc_dst in gen_compute_eflags, rather than
doing it all over the place.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <rth@twiddle.net>
Diffstat (limited to 'target-i386/cpu.h')
0 files changed, 0 insertions, 0 deletions