On Tue, Sep 6, 2022 at 12:09 PM Richard Henderson <richard.hender...@linaro.org> wrote: > > Signed-off-by: Richard Henderson <richard.hender...@linaro.org> > --- > target/i386/tcg/translate.c | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c > index 97a5f7e432..39bcb7263b 100644 > --- a/target/i386/tcg/translate.c > +++ b/target/i386/tcg/translate.c > @@ -516,6 +516,11 @@ static inline void gen_op_st_rm_T0_A0(DisasContext *s, > int idx, int d) > } > } > > +static TCGv gen_eip_cur(DisasContext *s) > +{ > + return tcg_constant_tl(s->base.pc_next - s->cs_base); > +}
eip_cur_tl() for consistency with eip_next_tl()? Paolo