[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 15/15] target/cris: Do not exit tb for X_FLAG changes
From: |
Richard Henderson |
Subject: |
[PATCH v3 15/15] target/cris: Do not exit tb for X_FLAG changes |
Date: |
Tue, 22 Jun 2021 08:48:20 -0700 |
We always know the exact value of X, that's all that matters.
This avoids splitting the TB e.g. between "ax" and "addq".
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
---
target/cris/translate.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/target/cris/translate.c b/target/cris/translate.c
index 45548ffb5e..78cc70a320 100644
--- a/target/cris/translate.c
+++ b/target/cris/translate.c
@@ -3160,9 +3160,6 @@ static void cris_tr_translate_insn(DisasContextBase
*dcbase, CPUState *cs)
cris_clear_x_flag(dc);
}
- /* Fold unhandled changes to X_FLAG into cpustate_changed. */
- dc->cpustate_changed |= dc->flags_x != (dc->base.tb->flags & X_FLAG);
-
/*
* All branches are delayed branches, handled immediately below.
* We don't expect to see odd combinations of exit conditions.
--
2.25.1
- Re: [PATCH v3 11/15] target/cris: Add DISAS_DBRANCH, (continued)
[PATCH v3 14/15] target/cris: Remove dc->flagx_known, Richard Henderson, 2021/06/22
[PATCH v3 13/15] target/cris: Improve JMP_INDIRECT, Richard Henderson, 2021/06/22
[PATCH v3 02/15] target/cris: Remove DISAS_SWI, Richard Henderson, 2021/06/22
[PATCH v3 03/15] target/cris: Replace DISAS_TB_JUMP with DISAS_NORETURN, Richard Henderson, 2021/06/22
[PATCH v3 06/15] target/cris: Convert to TranslatorOps, Richard Henderson, 2021/06/22
[PATCH v3 09/15] target/cris: Fold unhandled X_FLAG changes into cpustate_changed, Richard Henderson, 2021/06/22
[PATCH v3 08/15] target/cris: Mark static arrays const, Richard Henderson, 2021/06/22
[PATCH v3 15/15] target/cris: Do not exit tb for X_FLAG changes,
Richard Henderson <=
[PATCH v3 12/15] target/cris: Use tcg_gen_lookup_and_goto_ptr, Richard Henderson, 2021/06/22