[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v5 31/55] target/riscv: fetch code with translator_ld
From: |
Alistair Francis |
Subject: |
Re: [PATCH v5 31/55] target/riscv: fetch code with translator_ld |
Date: |
Mon, 14 Oct 2019 10:59:07 -0700 |
On Mon, Oct 14, 2019 at 4:20 AM Alex Bennée <address@hidden> wrote:
>
> From: "Emilio G. Cota" <address@hidden>
>
> Signed-off-by: Emilio G. Cota <address@hidden>
> Reviewed-by: Richard Henderson <address@hidden>
> Signed-off-by: Alex Bennée <address@hidden>
Reviewed-by: Alistair Francis <address@hidden>
Alistair
> ---
> target/riscv/translate.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/target/riscv/translate.c b/target/riscv/translate.c
> index adeddb85f6..b26533d4fd 100644
> --- a/target/riscv/translate.c
> +++ b/target/riscv/translate.c
> @@ -779,7 +779,7 @@ static void riscv_tr_translate_insn(DisasContextBase
> *dcbase, CPUState *cpu)
> DisasContext *ctx = container_of(dcbase, DisasContext, base);
> CPURISCVState *env = cpu->env_ptr;
>
> - ctx->opcode = cpu_ldl_code(env, ctx->base.pc_next);
> + ctx->opcode = translator_ldl(env, ctx->base.pc_next);
> decode_opc(ctx);
> ctx->base.pc_next = ctx->pc_succ_insn;
>
> --
> 2.20.1
>
>