target/sparc: Use DYNAMIC_PC_LOOKUP for JMPL
This is for a plain indirect branch with no other side effects. Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org> Signed-off-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20230628071202.230991-7-richard.henderson@linaro.org> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
This commit is contained in:
parent
99c82c479b
commit
831543fc76
@ -5058,7 +5058,7 @@ static void disas_sparc_insn(DisasContext * dc, unsigned int insn)
|
|||||||
gen_check_align(cpu_tmp0, 3);
|
gen_check_align(cpu_tmp0, 3);
|
||||||
gen_address_mask(dc, cpu_tmp0);
|
gen_address_mask(dc, cpu_tmp0);
|
||||||
tcg_gen_mov_tl(cpu_npc, cpu_tmp0);
|
tcg_gen_mov_tl(cpu_npc, cpu_tmp0);
|
||||||
dc->npc = DYNAMIC_PC;
|
dc->npc = DYNAMIC_PC_LOOKUP;
|
||||||
}
|
}
|
||||||
goto jmp_insn;
|
goto jmp_insn;
|
||||||
#if !defined(CONFIG_USER_ONLY) && !defined(TARGET_SPARC64)
|
#if !defined(CONFIG_USER_ONLY) && !defined(TARGET_SPARC64)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user