[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 25/31] target/s390x: don't probe next pc for EXecuted insns
From: |
Alex Bennée |
Subject: |
[PULL 25/31] target/s390x: don't probe next pc for EXecuted insns |
Date: |
Mon, 31 Oct 2022 13:10:04 +0000 |
We have finished the TB anyway so we can shortcut the other tests by
checking dc->ex_value first.
Reviewed-by: David Hildenbrand <david@redhat.com>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20221027183637.2772968-25-alex.bennee@linaro.org>
diff --git a/target/s390x/tcg/translate.c b/target/s390x/tcg/translate.c
index 9df7f9e693..f4122db434 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
- [PULL 12/31] semihosting/arm-compat-semi: Avoid using hardcoded /tmp, (continued)
- [PULL 12/31] semihosting/arm-compat-semi: Avoid using hardcoded /tmp, Alex Bennée, 2022/10/31
- [PULL 09/31] tests/docker: Add flex/bison to `debian-hexagon-cross`, Alex Bennée, 2022/10/31
- [PULL 15/31] hw/usb: dev-mtp: Use g_mkdir(), Alex Bennée, 2022/10/31
- [PULL 11/31] tests/tcg/nios2: Tweak 10m50-ghrd.ld, Alex Bennée, 2022/10/31
- [PULL 14/31] block/vvfat: Unify the mkdir() call, Alex Bennée, 2022/10/31
- [PULL 01/31] tests/lcitool: Rename non-Debian specific helper, Alex Bennée, 2022/10/31
- [PULL 05/31] tests/docker: Add flex/bison to `debian-all-test`, Alex Bennée, 2022/10/31
- [PULL 02/31] tests/lcitool: Refresh to latest libvirt-ci module, Alex Bennée, 2022/10/31
- [PULL 08/31] tests/avocado: extend the timeout for x86_64 tcg tests, Alex Bennée, 2022/10/31
- [PULL 26/31] target/s390x: fake instruction loading when handling 'ex', Alex Bennée, 2022/10/31
- [PULL 25/31] target/s390x: don't probe next pc for EXecuted insns,
Alex Bennée <=
- [PULL 28/31] contrib/plugins: enable debug on CONFIG_DEBUG_TCG, Alex Bennée, 2022/10/31
- [PULL 19/31] tests/avocado: set -machine none for userfwd and vnc tests, Alex Bennée, 2022/10/31
- [PULL 17/31] MAINTAINERS: add features_to_c.sh to gdbstub files, Alex Bennée, 2022/10/31
- [PULL 30/31] tests/unit: cleanups for test-io-channel-command, Alex Bennée, 2022/10/31
- [PULL 24/31] target/s390x: don't use ld_code2 to probe next pc, Alex Bennée, 2022/10/31
- [PULL 20/31] tests/avocado: raspi2_initrd: Wait for guest shutdown message before stopping, Alex Bennée, 2022/10/31
- [PULL 21/31] tests/avocado: disable sh4 rd2 tests on Gitlab, Alex Bennée, 2022/10/31
- [PULL 23/31] tests/tcg: re-enable threadcount for sh4, Alex Bennée, 2022/10/31
- [PULL 31/31] tests/vm: use -o IdentitiesOnly=yes for ssh, Alex Bennée, 2022/10/31
- [PULL 22/31] tests/tcg: re-enable linux-test for sh4, Alex Bennée, 2022/10/31