qemu-riscv
[Top][All Lists]
Advanced

[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: Palmer Dabbelt
Subject: Re: [PATCH v5 31/55] target/riscv: fetch code with translator_ld
Date: Fri, 18 Oct 2019 11:32:25 -0700 (PDT)

On Mon, 14 Oct 2019 10:59:07 PDT (-0700), address@hidden wrote:
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>

and

Acked-by: Palmer Dabbelt <address@hidden>

as I'm assuming this will go in with the rest of the patch set.


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]