target/openrisc: fetch code with translator_ld
Signed-off-by: Emilio G. Cota <cota@braap.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
This commit is contained in:
parent
4d246bb435
commit
7f93879e44
@ -1645,7 +1645,7 @@ static void openrisc_tr_translate_insn(DisasContextBase *dcbase, CPUState *cs)
|
||||
{
|
||||
DisasContext *dc = container_of(dcbase, DisasContext, base);
|
||||
OpenRISCCPU *cpu = OPENRISC_CPU(cs);
|
||||
uint32_t insn = cpu_ldl_code(&cpu->env, dc->base.pc_next);
|
||||
uint32_t insn = translator_ldl(&cpu->env, dc->base.pc_next);
|
||||
|
||||
if (!decode(dc, insn)) {
|
||||
gen_illegal_exception(dc);
|
||||
|
Loading…
Reference in New Issue
Block a user