[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 07/10] target/sparc: Use DYNAMIC_PC_LOOKUP for JMPL
From: |
Mark Cave-Ayland |
Subject: |
[PULL 07/10] target/sparc: Use DYNAMIC_PC_LOOKUP for JMPL |
Date: |
Wed, 28 Jun 2023 12:45:01 +0100 |
From: Richard Henderson <richard.henderson@linaro.org>
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>
---
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.30.2
- [PULL 00/10] qemu-sparc queue 20230628, Mark Cave-Ayland, 2023/06/28
- [PULL 01/10] Revert "hw/sparc64/niagara: Use blk_name() instead of open-coding it", Mark Cave-Ayland, 2023/06/28
- [PULL 02/10] target/sparc: Use tcg_gen_lookup_and_goto_ptr in gen_goto_tb, Mark Cave-Ayland, 2023/06/28
- [PULL 03/10] target/sparc: Fix npc comparison in sparc_tr_insn_start, Mark Cave-Ayland, 2023/06/28
- [PULL 04/10] target/sparc: Drop inline markers from translate.c, Mark Cave-Ayland, 2023/06/28
- [PULL 06/10] target/sparc: Use DYNAMIC_PC_LOOKUP for conditional branches, Mark Cave-Ayland, 2023/06/28
- [PULL 07/10] target/sparc: Use DYNAMIC_PC_LOOKUP for JMPL,
Mark Cave-Ayland <=
- [PULL 10/10] escc: emulate dip switch language layout settings on SUN keyboard, Mark Cave-Ayland, 2023/06/28
- [PULL 08/10] target/sparc: Use DYNAMIC_PC_LOOKUP for v9 RETURN, Mark Cave-Ayland, 2023/06/28
- [PULL 09/10] target/sparc: Use tcg_gen_lookup_and_goto_ptr for v9 WRASI, Mark Cave-Ayland, 2023/06/28
- [PULL 05/10] target/sparc: Introduce DYNAMIC_PC_LOOKUP, Mark Cave-Ayland, 2023/06/28
- Re: [PULL 00/10] qemu-sparc queue 20230628, Richard Henderson, 2023/06/28