mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-01-23 00:01:02 +00:00
target-arm: Add condexec state to insn_start
Backports commit 52e971d9ff67e340ac2a86bd67e14bd31c7991e0 from qemu
This commit is contained in:
parent
3f9502dc8b
commit
2c091e5fb8
|
@ -102,6 +102,7 @@ typedef uint32_t ARMReadCPFunc(void *opaque, int cp_info,
|
|||
struct arm_boot_info;
|
||||
|
||||
#define NB_MMU_MODES 4
|
||||
#define TARGET_INSN_START_EXTRA_WORDS 1
|
||||
|
||||
/* We currently assume float and double are IEEE single and double
|
||||
precision respectively.
|
||||
|
|
|
@ -11279,7 +11279,7 @@ void gen_intermediate_code_internal_a64(ARMCPU *cpu,
|
|||
tcg_ctx->gen_opc_instr_start[lj] = 1;
|
||||
//tcg_ctx->gen_opc_icount[lj] = num_insns;
|
||||
}
|
||||
tcg_gen_insn_start(tcg_ctx, dc->pc);
|
||||
tcg_gen_insn_start(tcg_ctx, dc->pc, 0);
|
||||
num_insns++;
|
||||
|
||||
//if (num_insns == max_insns && (tb->cflags & CF_LAST_IO)) {
|
||||
|
|
|
@ -11477,7 +11477,8 @@ static inline void gen_intermediate_code_internal(ARMCPU *cpu,
|
|||
tcg_ctx->gen_opc_instr_start[lj] = 1;
|
||||
//tcg_ctx->gen_opc_icount[lj] = num_insns;
|
||||
}
|
||||
tcg_gen_insn_start(tcg_ctx, dc->pc);
|
||||
tcg_gen_insn_start(tcg_ctx, dc->pc,
|
||||
(dc->condexec_cond << 4) | (dc->condexec_mask >> 1));
|
||||
num_insns++;
|
||||
|
||||
//if (num_insns == max_insns && (tb->cflags & CF_LAST_IO)) {
|
||||
|
|
Loading…
Reference in a new issue