Re: [PATCH v2 05/23] target/i386: Create gen_update_eip_cur

2022-09-21 Thread Paolo Bonzini
On Tue, Sep 6, 2022 at 12:09 PM Richard Henderson wrote: > > Like gen_update_cc_op, sync EIP before doing something > that could raise an exception. Replace all gen_jmp_im > that use s->base.pc_next. The commit message seems a bit off (it sounds like adding stuff rather than refactoring), but an

[PATCH v2 05/23] target/i386: Create gen_update_eip_cur

2022-09-06 Thread Richard Henderson
Like gen_update_cc_op, sync EIP before doing something that could raise an exception. Replace all gen_jmp_im that use s->base.pc_next. Signed-off-by: Richard Henderson --- target/i386/tcg/translate.c | 52 - 1 file changed, 28 insertions(+), 24 deletions(-)