[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 6/8] target/sparc: Use DYNAMIC_PC_LOOKUP for JMPL
From: |
Richard Henderson |
Subject: |
[PATCH v3 6/8] target/sparc: Use DYNAMIC_PC_LOOKUP for JMPL |
Date: |
Wed, 28 Jun 2023 09:12:00 +0200 |
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>
---
target/sparc/translate.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/sparc/translate.c b/target/sparc/translate.c
index d7b569d910..17afe98523 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)
--
2.34.1
- [PATCH v3 0/8] target/sparc: Use tcg_gen_lookup_and_goto_ptr, Richard Henderson, 2023/06/28
- [PATCH v3 2/8] target/sparc: Fix npc comparison in sparc_tr_insn_start, Richard Henderson, 2023/06/28
- [PATCH v3 6/8] target/sparc: Use DYNAMIC_PC_LOOKUP for JMPL,
Richard Henderson <=
- [PATCH v3 3/8] target/sparc: Drop inline markers from translate.c, Richard Henderson, 2023/06/28
- [PATCH v3 8/8] target/sparc: Use tcg_gen_lookup_and_goto_ptr for v9 WRASI, Richard Henderson, 2023/06/28
- [PATCH v3 5/8] target/sparc: Use DYNAMIC_PC_LOOKUP for conditional branches, Richard Henderson, 2023/06/28
- [PATCH v3 7/8] target/sparc: Use DYNAMIC_PC_LOOKUP for v9 RETURN, Richard Henderson, 2023/06/28
- [PATCH v3 1/8] target/sparc: Use tcg_gen_lookup_and_goto_ptr in gen_goto_tb, Richard Henderson, 2023/06/28
- [PATCH v3 4/8] target/sparc: Introduce DYNAMIC_PC_LOOKUP, Richard Henderson, 2023/06/28
- Re: [PATCH v3 0/8] target/sparc: Use tcg_gen_lookup_and_goto_ptr, Philippe Mathieu-Daudé, 2023/06/28
- Re: [PATCH v3 0/8] target/sparc: Use tcg_gen_lookup_and_goto_ptr, Mark Cave-Ayland, 2023/06/28