On 3/28/23 09:28, Peter Maydell wrote:
+ /* + * gen_exception_insn() will set is_jmp to DISAS_NORETURN, + * but since we're conditionally branching over it, we want + * to retain the existing value. + */ + old_is_jmp = s->base.is_jmp; gen_exception_insn(s, 0, EXCP_UDEF, syndrome); + s->base.is_jmp = old_is_jmp;
A third solution is to simply set is_jmp = DISAS_NEXT here. r~