[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 06/45] target/hppa: Use CF_BP_PAGE instead of cpu_breakpoint_test
|
From: |
Richard Henderson |
|
Subject: |
[PATCH 06/45] target/hppa: Use CF_BP_PAGE instead of cpu_breakpoint_test |
|
Date: |
Wed, 24 Apr 2024 16:59:44 -0700 |
The generic tcg driver will have already checked for breakpoints.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/hppa/translate.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/target/hppa/translate.c b/target/hppa/translate.c
index ceba7a98e5..dfdcb3e23c 100644
--- a/target/hppa/translate.c
+++ b/target/hppa/translate.c
@@ -673,8 +673,9 @@ static bool use_goto_tb(DisasContext *ctx, uint64_t bofs,
uint64_t nofs)
executing a TB that merely branches to the next TB. */
static bool use_nullify_skip(DisasContext *ctx)
{
- return (((ctx->iaoq_b ^ ctx->iaoq_f) & TARGET_PAGE_MASK) == 0
- && !cpu_breakpoint_test(ctx->cs, ctx->iaoq_b, BP_ANY));
+ return (!(tb_cflags(ctx->base.tb) & CF_BP_PAGE)
+ && ctx->iaoq_b != -1
+ && is_same_page(&ctx->base, ctx->iaoq_b));
}
static void gen_goto_tb(DisasContext *ctx, int which,
--
2.34.1
- [PATCH 00/45] target/hppa: Misc improvements, Richard Henderson, 2024/04/24
- [PATCH 02/45] target/hppa: Use hppa_form_gva_psw in hppa_cpu_get_pc, Richard Henderson, 2024/04/24
- [PATCH 01/45] target/hppa: Move cpu_get_tb_cpu_state out of line, Richard Henderson, 2024/04/24
- [PATCH 08/45] target/hppa: Add install_link, Richard Henderson, 2024/04/24
- [PATCH 06/45] target/hppa: Use CF_BP_PAGE instead of cpu_breakpoint_test,
Richard Henderson <=
- [PATCH 16/45] target/hppa: Always make a copy in do_ibranch_priv, Richard Henderson, 2024/04/24
- [PATCH 18/45] target/hppa: Use displacements in DisasIAQE, Richard Henderson, 2024/04/24
- [PATCH 24/45] target/hppa: Use TCG_COND_TST* in trans_bb_imm, Richard Henderson, 2024/04/24
- [PATCH 27/45] target/hppa: Remove cond_free, Richard Henderson, 2024/04/24
- [PATCH 03/45] target/hppa: Move constant destination check into use_goto_tb, Richard Henderson, 2024/04/24
- [PATCH 05/45] target/hppa: Allow prior nullification in do_ibranch, Richard Henderson, 2024/04/24
- [PATCH 13/45] target/hppa: Add space arguments to install_iaq_entries, Richard Henderson, 2024/04/24
- [PATCH 10/45] target/hppa: Skip nullified insns in unconditional dbranch path, Richard Henderson, 2024/04/24
- [PATCH 15/45] target/hppa: Use umax in do_ibranch_priv, Richard Henderson, 2024/04/24
- [PATCH 20/45] target/hppa: Use TCG_COND_TST* in do_cond, Richard Henderson, 2024/04/24