Re: [PATCH v2 19/23] target/i386: Use gen_jmp_rel for gen_jcc

2022-10-01 Thread Richard Henderson
On 10/1/22 00:03, Paolo Bonzini wrote: On Sat, Oct 1, 2022 at 3:04 AM Richard Henderson wrote: On 9/21/22 06:09, Paolo Bonzini wrote: On Tue, Sep 6, 2022 at 12:09 PM Richard Henderson wrote: +gen_jcc1(s, b, l1); +gen_jmp_rel(s, ot, 0, 1); +gen_set_label(l1); +gen_jmp_rel(s,

Re: [PATCH v2 19/23] target/i386: Use gen_jmp_rel for gen_jcc

2022-10-01 Thread Paolo Bonzini
On Sat, Oct 1, 2022 at 3:04 AM Richard Henderson wrote: > > On 9/21/22 06:09, Paolo Bonzini wrote: > > On Tue, Sep 6, 2022 at 12:09 PM Richard Henderson > > wrote: > > > +gen_jcc1(s, b, l1); > > > +gen_jmp_rel(s, ot, 0, 1); > > > +gen_set_label(l1); > > > +gen_jmp_rel(s, ot,

Re: [PATCH v2 19/23] target/i386: Use gen_jmp_rel for gen_jcc

2022-09-30 Thread Richard Henderson
On 9/21/22 06:09, Paolo Bonzini wrote: On Tue, Sep 6, 2022 at 12:09 PM Richard Henderson wrote: -static inline void gen_jcc(DisasContext *s, int b, - target_ulong val, target_ulong next_eip) +static void gen_jcc(DisasContext *s, MemOp ot, int b, int diff) { -

Re: [PATCH v2 19/23] target/i386: Use gen_jmp_rel for gen_jcc

2022-09-21 Thread Paolo Bonzini
On Tue, Sep 6, 2022 at 12:09 PM Richard Henderson wrote: > -static inline void gen_jcc(DisasContext *s, int b, > - target_ulong val, target_ulong next_eip) > +static void gen_jcc(DisasContext *s, MemOp ot, int b, int diff) > { > -TCGLabel *l1, *l2; > +TCGLabel

[PATCH v2 19/23] target/i386: Use gen_jmp_rel for gen_jcc

2022-09-06 Thread Richard Henderson
Signed-off-by: Richard Henderson --- target/i386/tcg/translate.c | 57 - 1 file changed, 18 insertions(+), 39 deletions(-) diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c index fdd17c3cf3..e27f36e4e9 100644 ---