Re: [PATCH 10/22] target/i386: add X86_SPECIALs for MOVSX and MOVZX

2023-12-28 Thread Richard Henderson
On 12/23/23 05:15, Paolo Bonzini wrote: Usually the registers are just moved into s->T0 without much care for their operand size. However, in some cases we can get more efficient code if the operand fetching logic syncs with the emission function on what is nicer. All the current uses are mostl

[PATCH 10/22] target/i386: add X86_SPECIALs for MOVSX and MOVZX

2023-12-22 Thread Paolo Bonzini
Usually the registers are just moved into s->T0 without much care for their operand size. However, in some cases we can get more efficient code if the operand fetching logic syncs with the emission function on what is nicer. All the current uses are mostly demonstrative and only reduce the code i