aboutsummaryrefslogtreecommitdiff
path: root/target/cris
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-06-22 08:25:13 -0700
committerRichard Henderson <richard.henderson@linaro.org>2021-06-29 10:04:56 -0700
commit5f5a05cdd9aa4dc3c3c4b062de2a8494f23337ed (patch)
tree8801c52409c9394baf99c7f407b9ddd90619072f /target/cris
parent0ce97a315fe16ab104cafe459b2c946a63000e08 (diff)
downloadqemu-5f5a05cdd9aa4dc3c3c4b062de2a8494f23337ed.zip
qemu-5f5a05cdd9aa4dc3c3c4b062de2a8494f23337ed.tar.gz
qemu-5f5a05cdd9aa4dc3c3c4b062de2a8494f23337ed.tar.bz2
target/cris: Do not exit tb for X_FLAG changes
We always know the exact value of X, that's all that matters. This avoids splitting the TB e.g. between "ax" and "addq". Reviewed-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Tested-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/cris')
-rw-r--r--target/cris/translate.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/target/cris/translate.c b/target/cris/translate.c
index 0be1039..4cfe5c8 100644
--- a/target/cris/translate.c
+++ b/target/cris/translate.c
@@ -3162,9 +3162,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.