[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 27/28] target/tricore: Use tcg_gen_lookup_and_goto_ptr
From: |
Richard Henderson |
Subject: |
[PATCH v3 27/28] target/tricore: Use tcg_gen_lookup_and_goto_ptr |
Date: |
Thu, 8 Jul 2021 09:40:49 -0700 |
The non-single-step case of gen_goto_tb may use
tcg_gen_lookup_and_goto_ptr to indirectly chain.
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/tricore/translate.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/target/tricore/translate.c b/target/tricore/translate.c
index 09465ea013..865020754d 100644
--- a/target/tricore/translate.c
+++ b/target/tricore/translate.c
@@ -3243,8 +3243,9 @@ static void gen_goto_tb(DisasContext *ctx, int n,
target_ulong dest)
gen_save_pc(dest);
if (ctx->base.singlestep_enabled) {
generate_qemu_excp(ctx, EXCP_DEBUG);
+ } else {
+ tcg_gen_lookup_and_goto_ptr();
}
- tcg_gen_exit_tb(NULL, 0);
}
}
--
2.25.1
- [PATCH v3 10/28] target/cris: Use translator_use_goto_tb, (continued)
- [PATCH v3 10/28] target/cris: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 09/28] target/avr: Mark some helpers noreturn, Richard Henderson, 2021/07/08
- [PATCH v3 08/28] target/avr: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 15/28] target/mips: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 25/28] target/sparc: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 11/28] target/hppa: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 17/28] target/nios2: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 20/28] target/riscv: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 14/28] target/microblaze: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 19/28] target/ppc: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 27/28] target/tricore: Use tcg_gen_lookup_and_goto_ptr,
Richard Henderson <=
- [PATCH v3 24/28] target/sh4: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 16/28] target/mips: Fix missing else in gen_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 18/28] target/openrisc: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 23/28] target/s390x: Remove use_exit_tb, Richard Henderson, 2021/07/08
- [PATCH v3 22/28] target/s390x: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 21/28] target/rx: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 28/28] target/xtensa: Use translator_use_goto_tb, Richard Henderson, 2021/07/08
- [PATCH v3 26/28] target/tricore: Use translator_use_goto_tb, Richard Henderson, 2021/07/08