aboutsummaryrefslogtreecommitdiff
path: root/target/sparc
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-06-28 09:12:00 +0200
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-06-28 10:53:57 +0100
commit831543fc7678c169cb2190a14be3b8d097617776 (patch)
tree336407232976a2798999598057a51309be67c056 /target/sparc
parent99c82c479b26ce18e124b86d0dab9fd3bfa3ec4f (diff)
downloadqemu-831543fc7678c169cb2190a14be3b8d097617776.zip
qemu-831543fc7678c169cb2190a14be3b8d097617776.tar.gz
qemu-831543fc7678c169cb2190a14be3b8d097617776.tar.bz2
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>
Diffstat (limited to 'target/sparc')
-rw-r--r--target/sparc/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target/sparc/translate.c b/target/sparc/translate.c
index d7b569d..17afe98 100644
--- a/target/sparc/translate.c
+++ b/target/sparc/translate.c
@@ -5058,7 +5058,7 @@ static void disas_sparc_insn(DisasContext * dc, unsigned int insn)
gen_check_align(cpu_tmp0, 3);
gen_address_mask(dc, cpu_tmp0);
tcg_gen_mov_tl(cpu_npc, cpu_tmp0);
- dc->npc = DYNAMIC_PC;
+ dc->npc = DYNAMIC_PC_LOOKUP;
}
goto jmp_insn;
#if !defined(CONFIG_USER_ONLY) && !defined(TARGET_SPARC64)