Re: [PATCH 14/25] target/i386: convert bit test instructions to new decoder

2024-06-08 Thread Richard Henderson
On 6/8/24 01:41, Paolo Bonzini wrote: -if (mod != 3) { -AddressParts a = gen_lea_modrm_0(env, s, modrm); -/* specific case: we need to add a displacement */ -gen_exts(ot, s->T1); -tcg_gen_sari_tl(s->tmp0, s->T1, 3 + ot); -

[PATCH 14/25] target/i386: convert bit test instructions to new decoder

2024-06-08 Thread Paolo Bonzini
Signed-off-by: Paolo Bonzini --- target/i386/tcg/decode-new.h | 3 + target/i386/tcg/translate.c | 147 +-- target/i386/tcg/decode-new.c.inc | 45 +++--- target/i386/tcg/emit.c.inc | 130 ++- 4 files changed, 166