[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 10/23] target/i386: USe DISAS_EOB_ONLY
From: |
Paolo Bonzini |
Subject: |
Re: [PATCH v2 10/23] target/i386: USe DISAS_EOB_ONLY |
Date: |
Wed, 21 Sep 2022 14:10:17 +0200 |
On Tue, Sep 6, 2022 at 12:09 PM Richard Henderson
<richard.henderson@linaro.org> wrote:
>
> Replace lone calls to gen_eob() with the new enumerator.
>
> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> target/i386/tcg/translate.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 deletions(-)
>
> diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c
> index a7e5bcdec7..5b77414a0a 100644
> --- a/target/i386/tcg/translate.c
> +++ b/target/i386/tcg/translate.c
> @@ -6800,7 +6800,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;
> @@ -6818,7 +6818,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 */
> {
> @@ -7404,7 +7404,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 */
> @@ -7445,7 +7445,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 */
> @@ -7456,7 +7456,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
> @@ -8539,7 +8539,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)) !=
> --
> 2.34.1
>
- [PATCH v2 04/23] target/i386: Remove cur_eip, next_eip arguments to gen_interrupt, (continued)
- [PATCH v2 04/23] target/i386: Remove cur_eip, next_eip arguments to gen_interrupt, Richard Henderson, 2022/09/06
- [PATCH v2 05/23] target/i386: Create gen_update_eip_cur, Richard Henderson, 2022/09/06
- [PATCH v2 06/23] target/i386: Create gen_update_eip_next, Richard Henderson, 2022/09/06
- [PATCH v2 12/23] target/i386: Remove cur_eip, next_eip arguments to gen_repz*, Richard Henderson, 2022/09/06
- [PATCH v2 10/23] target/i386: USe DISAS_EOB_ONLY, Richard Henderson, 2022/09/06
- Re: [PATCH v2 10/23] target/i386: USe DISAS_EOB_ONLY,
Paolo Bonzini <=
- [PATCH v2 15/23] target/i386: Create eip_next_*, Richard Henderson, 2022/09/06
- [PATCH v2 17/23] target/i386: Create gen_jmp_rel, Richard Henderson, 2022/09/06
- [PATCH v2 19/23] target/i386: Use gen_jmp_rel for gen_jcc, Richard Henderson, 2022/09/06
- [PATCH v2 08/23] target/i386: Use DISAS_EOB* in gen_movl_seg_T0, Richard Henderson, 2022/09/06