Re: [PATCH 09/22] target/i386: rename zext0/zext2 and make them closer to the manual

2023-12-28 Thread Richard Henderson
On 12/23/23 05:15, Paolo Bonzini wrote: X86_SPECIAL_ZExtOp0 and X86_SPECIAL_ZExtOp2 are poorly named; they are a hack that is needed by scalar insertion and extraction instructions, and not really related to zero extension: for PEXTR the zero extension is done by the generation functions, for

[PATCH 09/22] target/i386: rename zext0/zext2 and make them closer to the manual

2023-12-22 Thread Paolo Bonzini
X86_SPECIAL_ZExtOp0 and X86_SPECIAL_ZExtOp2 are poorly named; they are a hack that is needed by scalar insertion and extraction instructions, and not really related to zero extension: for PEXTR the zero extension is done by the generation functions, for PINSR the high bits are not used at all and