mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-22 15:31:05 +00:00
target-i386: Add cc_op state to insn_start
Backports commit 2066d09516ba34d0d180fdea451436d9babb3308 from qemu
This commit is contained in:
parent
500e116581
commit
f05c35c49c
|
@ -795,6 +795,7 @@ typedef struct {
|
|||
#define MAX_GP_COUNTERS (MSR_IA32_PERF_STATUS - MSR_P6_EVNTSEL0)
|
||||
|
||||
#define NB_MMU_MODES 3
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 1
|
||||
|
||||
#define NB_OPMASK_REGS 8
|
||||
|
||||
|
|
|
@ -8702,7 +8702,7 @@ static inline void gen_intermediate_code_internal(uint8_t *gen_opc_cc_op,
|
|||
tcg_ctx->gen_opc_instr_start[lj] = 1;
|
||||
// tcg_ctx->gen_opc_icount[lj] = num_insns;
|
||||
}
|
||||
tcg_gen_insn_start(tcg_ctx, pc_start);
|
||||
tcg_gen_insn_start(tcg_ctx, pc_start, dc->cc_op);
|
||||
num_insns++;
|
||||
|
||||
//if (num_insns == max_insns && (tb->cflags & CF_LAST_IO)) {
|
||||
|
|
Loading…
Reference in a new issue