From: Georg Hofstetter Date: Mon, 24 Jun 2019 07:03:38 +0000 (+0200) Subject: tricore: sync ctx.hflags with tb->flags X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ef1b1de5b3bd0fed11998014dceaee32861f8122;p=qemu.git tricore: sync ctx.hflags with tb->flags Signed-off-by: Andreas Konopik Signed-off-by: David Brenken Signed-off-by: Georg Hofstetter Signed-off-by: Robert Rasche Signed-off-by: Lars Biermanski Reviewed-by: Bastian Koppelmann Message-Id: <20190624070339.4408-5-david.brenken@efs-auto.org> Signed-off-by: Bastian Koppelmann --- diff --git a/target/tricore/translate.c b/target/tricore/translate.c index 5d4febf1c0..c79566e56a 100644 --- a/target/tricore/translate.c +++ b/target/tricore/translate.c @@ -8810,6 +8810,7 @@ void gen_intermediate_code(CPUState *cs, TranslationBlock *tb, int max_insns) ctx.singlestep_enabled = cs->singlestep_enabled; ctx.bstate = BS_NONE; ctx.mem_idx = cpu_mmu_index(env, false); + ctx.hflags = (uint32_t)tb->flags; tcg_clear_temp_count(); gen_tb_start(tb);