[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Stable-9.0.1 24/44] target/sh4: Update DisasContextBase.insn_start
From: |
Michael Tokarev |
Subject: |
[Stable-9.0.1 24/44] target/sh4: Update DisasContextBase.insn_start |
Date: |
Mon, 27 May 2024 11:21:15 +0300 |
From: Richard Henderson <richard.henderson@linaro.org>
Match the extra inserts of INDEX_op_insn_start, fixing
the db->num_insns != 1 assert in translator_loop.
Fixes: dcd092a0636 ("accel/tcg: Improve can_do_io management")
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
(cherry picked from commit ca51921158e3cc07520a0ef5eb33739e5852ac6e)
Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
diff --git a/target/sh4/translate.c b/target/sh4/translate.c
index 3e013b7c7c..f91d61b960 100644
--- a/target/sh4/translate.c
+++ b/target/sh4/translate.c
@@ -2181,6 +2181,7 @@ static void decode_gusa(DisasContext *ctx, CPUSH4State
*env)
*/
for (i = 1; i < max_insns; ++i) {
tcg_gen_insn_start(pc + i * 2, ctx->envflags);
+ ctx->base.insn_start = tcg_last_op();
}
}
#endif
--
2.39.2
- [Stable-9.0.1 08/44] target/riscv/kvm: remove sneaky strerrorname_np() instance, (continued)
- [Stable-9.0.1 08/44] target/riscv/kvm: remove sneaky strerrorname_np() instance, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 10/44] tests/avocado: update sunxi kernel from armbian to 6.6.16, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 20/44] target/sparc: Fix FMUL8x16, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 19/44] target/sparc: Fix FEXPAND, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 21/44] target/sparc: Fix FMUL8x16A{U,L}, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 02/44] linux-user: do_setsockopt: fix SOL_ALG.ALG_SET_KEY, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 06/44] backends/cryptodev-builtin: Fix local_error leaks, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 15/44] target/sh4: Fix ADDV opcode, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 18/44] target/i386: Give IRQs a chance when resetting HF_INHIBIT_IRQ_MASK, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 22/44] target/sparc: Fix FMULD8*X16, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 24/44] target/sh4: Update DisasContextBase.insn_start,
Michael Tokarev <=
- [Stable-9.0.1 13/44] hw/dmax/xlnx_dpdma: fix handling of address_extension descriptor fields, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 17/44] plugins: Update stale comment, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 27/44] target/i386: fix operand size for DATA16 REX.W POPCNT, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 16/44] target/sh4: Fix SUBV opcode, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 23/44] target/sparc: Fix FPMERGE, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 30/44] configure: quote -D options that are passed through to meson, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 36/44] target-i386: hyper-v: Correct kvm_hv_handle_exit return value, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 38/44] target/loongarch/kvm: fpu save the vreg registers high 192bit, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 26/44] hw/remote/vfio-user: Fix config space access byte order, Michael Tokarev, 2024/05/27
- [Stable-9.0.1 28/44] target/i386: rdpkru/wrpkru are no-prefix instructions, Michael Tokarev, 2024/05/27