[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 25/26] target/tricore: Use tcg_gen_lookup_and_goto_ptr
From: |
Richard Henderson |
Subject: |
[PATCH 25/26] target/tricore: Use tcg_gen_lookup_and_goto_ptr |
Date: |
Sun, 20 Jun 2021 18:34:38 -0700 |
The non-single-step case of gen_goto_tb may use
tcg_gen_lookup_and_goto_ptr to indirectly chain.
Cc: 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
- Re: [PATCH 11/26] target/m68k: Use translator_use_goto_tb, (continued)
- [PATCH 12/26] target/microblaze: Use translator_use_goto_tb, Richard Henderson, 2021/06/20
- [PATCH 14/26] target/mips: Fix missing else in gen_goto_tb, Richard Henderson, 2021/06/20
- [PATCH 13/26] target/mips: Use translator_use_goto_tb, Richard Henderson, 2021/06/20
- [PATCH 16/26] target/openrisc: Use translator_use_goto_tb, Richard Henderson, 2021/06/20
- [PATCH 17/26] target/ppc: Use translator_use_goto_tb, Richard Henderson, 2021/06/20
- [PATCH 21/26] target/s390x: Remove use_exit_tb, Richard Henderson, 2021/06/20
- [PATCH 22/26] target/sh4: Use translator_use_goto_tb, Richard Henderson, 2021/06/20
- [PATCH 25/26] target/tricore: Use tcg_gen_lookup_and_goto_ptr,
Richard Henderson <=
- [PATCH 19/26] target/rx: Use translator_use_goto_tb, Richard Henderson, 2021/06/20
- [PATCH 18/26] target/riscv: Use translator_use_goto_tb, Richard Henderson, 2021/06/20
- [PATCH 15/26] target/nios2: Use translator_use_goto_tb, Richard Henderson, 2021/06/20
- [PATCH 20/26] target/s390x: Use translator_use_goto_tb, Richard Henderson, 2021/06/20
- [PATCH 23/26] target/sparc: Use translator_use_goto_tb, Richard Henderson, 2021/06/20
- [PATCH 26/26] target/xtensa: Use translator_use_goto_tb, Richard Henderson, 2021/06/20