mirror of https://github.com/xemu-project/xemu.git
target/i386: USe DISAS_EOB_ONLY
Replace lone calls to gen_eob() with the new enumerator. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20221001140935.465607-11-richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
634a405193
commit
6424ac8eec
|
@ -6835,7 +6835,7 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)
|
|||
/* add stack offset */
|
||||
gen_stack_update(s, val + (2 << dflag));
|
||||
}
|
||||
gen_eob(s);
|
||||
s->base.is_jmp = DISAS_EOB_ONLY;
|
||||
break;
|
||||
case 0xcb: /* lret */
|
||||
val = 0;
|
||||
|
@ -6853,7 +6853,7 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)
|
|||
tcg_const_i32(s->pc - s->cs_base));
|
||||
}
|
||||
set_cc_op(s, CC_OP_EFLAGS);
|
||||
gen_eob(s);
|
||||
s->base.is_jmp = DISAS_EOB_ONLY;
|
||||
break;
|
||||
case 0xe8: /* call im */
|
||||
{
|
||||
|
@ -7439,7 +7439,7 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)
|
|||
gen_set_label(l1);
|
||||
gen_jmp_im(s, tval);
|
||||
gen_set_label(l2);
|
||||
gen_eob(s);
|
||||
s->base.is_jmp = DISAS_EOB_ONLY;
|
||||
}
|
||||
break;
|
||||
case 0x130: /* wrmsr */
|
||||
|
@ -7480,7 +7480,7 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)
|
|||
gen_exception_gpf(s);
|
||||
} else {
|
||||
gen_helper_sysenter(cpu_env);
|
||||
gen_eob(s);
|
||||
s->base.is_jmp = DISAS_EOB_ONLY;
|
||||
}
|
||||
break;
|
||||
case 0x135: /* sysexit */
|
||||
|
@ -7491,7 +7491,7 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)
|
|||
gen_exception_gpf(s);
|
||||
} else {
|
||||
gen_helper_sysexit(cpu_env, tcg_const_i32(dflag - 1));
|
||||
gen_eob(s);
|
||||
s->base.is_jmp = DISAS_EOB_ONLY;
|
||||
}
|
||||
break;
|
||||
#ifdef TARGET_X86_64
|
||||
|
@ -8574,7 +8574,7 @@ static bool disas_insn(DisasContext *s, CPUState *cpu)
|
|||
gen_update_eip_next(s);
|
||||
gen_helper_rsm(cpu_env);
|
||||
#endif /* CONFIG_USER_ONLY */
|
||||
gen_eob(s);
|
||||
s->base.is_jmp = DISAS_EOB_ONLY;
|
||||
break;
|
||||
case 0x1b8: /* SSE4.2 popcnt */
|
||||
if ((prefixes & (PREFIX_REPZ | PREFIX_LOCK | PREFIX_REPNZ)) !=
|
||||
|
|
Loading…
Reference in New Issue