]> xenbits.xensource.com Git - qemu-xen.git/commitdiff
tricore: sync ctx.hflags with tb->flags
authorGeorg Hofstetter <georg.hofstetter@efs-auto.de>
Mon, 24 Jun 2019 07:03:38 +0000 (09:03 +0200)
committerBastian Koppelmann <kbastian@mail.uni-paderborn.de>
Tue, 25 Jun 2019 10:11:55 +0000 (12:11 +0200)
Signed-off-by: Andreas Konopik <andreas.konopik@efs-auto.de>
Signed-off-by: David Brenken <david.brenken@efs-auto.de>
Signed-off-by: Georg Hofstetter <georg.hofstetter@efs-auto.de>
Signed-off-by: Robert Rasche <robert.rasche@efs-auto.de>
Signed-off-by: Lars Biermanski <lars.biermanski@efs-auto.de>
Reviewed-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Message-Id: <20190624070339.4408-5-david.brenken@efs-auto.org>
Signed-off-by: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
target/tricore/translate.c

index 5d4febf1c0667d5fc0908e645e6b221d807fc5e2..c79566e56afea5c551b79b76578ba22db677b8e1 100644 (file)
@@ -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);