qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [RFC v2 24/38] target/sh4: fetch code with translator_ld (W


From: Emilio G. Cota
Subject: [Qemu-devel] [RFC v2 24/38] target/sh4: fetch code with translator_ld (WIP)
Date: Sun, 9 Dec 2018 14:37:35 -0500

XXX: cleanly get the gUSA instructions

Signed-off-by: Emilio G. Cota <address@hidden>
---
 target/sh4/translate.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/target/sh4/translate.c b/target/sh4/translate.c
index ab254b0e8d..1704ce8dae 100644
--- a/target/sh4/translate.c
+++ b/target/sh4/translate.c
@@ -2331,7 +2331,7 @@ static void sh4_tr_translate_insn(DisasContextBase 
*dcbase, CPUState *cs)
     }
 #endif
 
-    ctx->opcode = cpu_lduw_code(env, ctx->base.pc_next);
+    ctx->opcode = translator_lduw(env, ctx->base.pc_next);
     decode_opc(ctx);
     ctx->base.pc_next += 2;
 }
-- 
2.17.1




reply via email to

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