提交 ccfcdd09 编写于 作者: R Richard Henderson

target-i386: no need to flush out cc_op before gen_eob

This makes code more similar to the other callers of gen_eob, especially
loopz/loopnz/jcxz.
Signed-off-by: NPaolo Bonzini <pbonzini@redhat.com>
Signed-off-by: NRichard Henderson <rth@twiddle.net>
上级 d229edce
......@@ -2303,8 +2303,8 @@ static inline void gen_jcc(DisasContext *s, int b,
{
int l1, l2;
gen_update_cc_op(s);
if (s->jmp_opt) {
gen_update_cc_op(s);
l1 = gen_new_label();
gen_jcc1(s, b, l1);
set_cc_op(s, CC_OP_DYNAMIC);
......@@ -2315,11 +2315,9 @@ static inline void gen_jcc(DisasContext *s, int b,
gen_goto_tb(s, 1, val);
s->is_jmp = DISAS_TB_JUMP;
} else {
l1 = gen_new_label();
l2 = gen_new_label();
gen_jcc1(s, b, l1);
set_cc_op(s, CC_OP_DYNAMIC);
gen_jmp_im(next_eip);
tcg_gen_br(l2);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册