target-sh4: Add flags state to insn_start
Reviewed-by: Aurelien Jarno <aurelien@aurel32.net> Reviewed-by: Peter Maydell <peter.maydell@linaro.org> Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
a3fd522048
commit
07f3c16ced
@ -120,6 +120,7 @@ typedef struct tlb_t {
|
||||
#define ITLB_SIZE 4
|
||||
|
||||
#define NB_MMU_MODES 2
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 1
|
||||
|
||||
enum sh_features {
|
||||
SH_FEATURE_SH4A = 1,
|
||||
|
@ -1860,7 +1860,7 @@ gen_intermediate_code_internal(SuperHCPU *cpu, TranslationBlock *tb,
|
||||
tcg_ctx.gen_opc_instr_start[ii] = 1;
|
||||
tcg_ctx.gen_opc_icount[ii] = num_insns;
|
||||
}
|
||||
tcg_gen_insn_start(ctx.pc);
|
||||
tcg_gen_insn_start(ctx.pc, ctx.flags);
|
||||
num_insns++;
|
||||
|
||||
if (unlikely(cpu_breakpoint_test(cs, ctx.pc, BP_ANY))) {
|
||||
|
Loading…
Reference in New Issue
Block a user