[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 7/8] target/sparc: Use DYNAMIC_PC_LOOKUP for v9 RETURN
From: |
Richard Henderson |
Subject: |
[PATCH v2 7/8] target/sparc: Use DYNAMIC_PC_LOOKUP for v9 RETURN |
Date: |
Wed, 21 Jun 2023 20:06:06 +0200 |
After the register window unwind, this is for a plain indirect
branch with no further side effects.
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 9ed235d26d..ab7054d4eb 100644
--- a/target/sparc/translate.c
+++ b/target/sparc/translate.c
@@ -5029,7 +5029,7 @@ static void disas_sparc_insn(DisasContext * dc, unsigned
int insn)
gen_mov_pc_npc(dc);
gen_check_align(cpu_tmp0, 3);
tcg_gen_mov_tl(cpu_npc, cpu_tmp0);
- dc->npc = DYNAMIC_PC;
+ dc->npc = DYNAMIC_PC_LOOKUP;
goto jmp_insn;
#endif
} else {
--
2.34.1
- [PATCH v2 5/8] target/sparc: Use DYNAMIC_PC_LOOKUP for conditional branches, (continued)
- [PATCH v2 5/8] target/sparc: Use DYNAMIC_PC_LOOKUP for conditional branches, Richard Henderson, 2023/06/21
- [PATCH v2 3/8] target/sparc: Drop inline markers from translate.c, Richard Henderson, 2023/06/21
- [PATCH v2 6/8] target/sparc: Use DYNAMIC_PC_LOOKUP for JMPL, Richard Henderson, 2023/06/21
- [PATCH v2 8/8] target/sparc: Use tcg_gen_lookup_and_goto_ptr for v9 WRASI, Richard Henderson, 2023/06/21
- [PATCH v2 2/8] target/sparc: Fix npc comparison in sparc_tr_insn_start, Richard Henderson, 2023/06/21
- [PATCH v2 7/8] target/sparc: Use DYNAMIC_PC_LOOKUP for v9 RETURN,
Richard Henderson <=
- Re: [PATCH v2 0/8] target/sparc: Use tcg_gen_lookup_and_goto_ptr, Mark Cave-Ayland, 2023/06/22