target/i386: Create gen_update_eip_cur
commit65e4af230d76769fe5a68efaf2145924e128fc51
authorRichard Henderson <richard.henderson@linaro.org>
Sat, 1 Oct 2022 14:09:14 +0000 (1 07:09 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 Oct 2022 07:36:01 +0000 (11 09:36 +0200)
treefc5cba84a7a94a31a04a6cf265ef5f76aea04177
parent8ed6c985016961625b6e1c188e93e817f398b339
target/i386: Create gen_update_eip_cur

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.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20221001140935.465607-6-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/translate.c