[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns
From: |
Alex Bennée |
Subject: |
[PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns |
Date: |
Thu, 20 Oct 2022 12:52:07 +0100 |
We have finished the TB anyway so we can shortcut the other tests by
checking dc->ex_value first.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
---
target/s390x/tcg/translate.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
index f4de8efe3a..95279e5dc3 100644
--- a/target/s390x/tcg/translate.c
+++ b/target/s390x/tcg/translate.c
@@ -6624,9 +6624,9 @@ static void s390x_tr_translate_insn(DisasContextBase
*dcbase, CPUState *cs)
dc->base.is_jmp = translate_one(env, dc);
if (dc->base.is_jmp == DISAS_NEXT) {
- if (!is_same_page(dcbase, dc->base.pc_next) ||
- !is_same_page(dcbase, get_next_pc(env, dc, dc->base.pc_next)) ||
- dc->ex_value) {
+ if (dc->ex_value ||
+ !is_same_page(dcbase, dc->base.pc_next) ||
+ !is_same_page(dcbase, get_next_pc(env, dc, dc->base.pc_next))) {
dc->base.is_jmp = DISAS_TOO_MANY;
}
}
--
2.34.1
- Re: [PATCH v3 17/26] MAINTAINERS: fix-up for check-tcg Makefile changes, (continued)
- [PATCH v3 26/26] tests/tcg: include CONFIG_PLUGIN in config-host.mak, Alex Bennée, 2022/10/20
- [PATCH v3 25/26] target/s390x: fake instruction loading when handling 'ex', Alex Bennée, 2022/10/20
- [PATCH v3 20/26] tests/avocado: disable sh4 rd2 tests on Gitlab, Alex Bennée, 2022/10/20
- [PATCH v3 24/26] target/s390x: don't probe next pc for EXecuted insns,
Alex Bennée <=
- [PATCH v3 21/26] tests/tcg: re-enable linux-test for sh4, Alex Bennée, 2022/10/20
- [PATCH v3 15/26] MAINTAINERS: add entries for the key build bits, Alex Bennée, 2022/10/20
- [PATCH v3 16/26] MAINTAINERS: add features_to_c.sh to gdbstub files, Alex Bennée, 2022/10/20