Re: [PATCH 31/37] target/i386: reimplement 0x0f 0x28-0x2f, add AVX

2022-09-13 Thread Richard Henderson
On 9/12/22 00:04, Paolo Bonzini wrote: +static void decode_0F2B(DisasContext *s, CPUX86State *env, X86OpEntry *entry, uint8_t *b) +{ +static const X86OpEntry opcodes_0F2B[4] = { +X86_OP_ENTRY3(MOVDQ, M,x, None,None, V,x, vex4), /* MOVNTPS */ +X86_OP_ENTRY3(MOVDQ, M

[PATCH 31/37] target/i386: reimplement 0x0f 0x28-0x2f, add AVX

2022-09-11 Thread Paolo Bonzini
Here the code is a bit uglier due to the truncation and extension of registers to and from 32-bit. Otherwise there is nothing special going on. Signed-off-by: Paolo Bonzini --- target/i386/tcg/decode-new.c.inc | 54 ++ target/i386/tcg/emit.c.inc | 120