mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 17:35:33 +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;
|
||||
}
|
||||
|
||||
gen_set_condexec(s);
|
||||
gen_set_pc_im(s, s->pc - 4);
|
||||
tmpptr = tcg_const_ptr(tcg_ctx, ri);
|
||||
tcg_syn = tcg_const_i32(tcg_ctx, syndrome);
|
||||
|
|
Loading…
Reference in a new issue