mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-07-22 23:38:28 +00:00
target-arm: Update condexec before CP access check in AA32 translation
Coprocessor access instructions are allowed inside IT block. gen_helper_access_check_cp_reg() can raise an exceptions thus condexec bits should be updated before. Backports commit 43bfa4a100687af8d293fef0a197839b51400fca from qemu
This commit is contained in:
parent
3f4efdd95e
commit
b42bfc59f1
|
@ -7340,6 +7340,7 @@ static int disas_coproc_insn(DisasContext *s, uint32_t insn)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
gen_set_condexec(s);
|
||||||
gen_set_pc_im(s, s->pc - 4);
|
gen_set_pc_im(s, s->pc - 4);
|
||||||
tmpptr = tcg_const_ptr(tcg_ctx, ri);
|
tmpptr = tcg_const_ptr(tcg_ctx, ri);
|
||||||
tcg_syn = tcg_const_i32(tcg_ctx, syndrome);
|
tcg_syn = tcg_const_i32(tcg_ctx, syndrome);
|
||||||
|
|
Loading…
Reference in a new issue