mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-17 07:02:03 -06:00
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
2 changed files with 2 additions and 1 deletions
|
@ -120,6 +120,7 @@ typedef struct tlb_t {
|
||||||
#define ITLB_SIZE 4
|
#define ITLB_SIZE 4
|
||||||
|
|
||||||
#define NB_MMU_MODES 2
|
#define NB_MMU_MODES 2
|
||||||
|
#define TARGET_INSN_START_EXTRA_WORDS 1
|
||||||
|
|
||||||
enum sh_features {
|
enum sh_features {
|
||||||
SH_FEATURE_SH4A = 1,
|
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_instr_start[ii] = 1;
|
||||||
tcg_ctx.gen_opc_icount[ii] = num_insns;
|
tcg_ctx.gen_opc_icount[ii] = num_insns;
|
||||||
}
|
}
|
||||||
tcg_gen_insn_start(ctx.pc);
|
tcg_gen_insn_start(ctx.pc, ctx.flags);
|
||||||
num_insns++;
|
num_insns++;
|
||||||
|
|
||||||
if (unlikely(cpu_breakpoint_test(cs, ctx.pc, BP_ANY))) {
|
if (unlikely(cpu_breakpoint_test(cs, ctx.pc, BP_ANY))) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue