Re: [PATCH 13/22] target/i386: do not clobber T0 on string operations

2023-12-28 Thread Richard Henderson
On 12/23/23 05:15, Paolo Bonzini wrote: The new decoder would rather have the operand in T0 when expanding SCAS, rather than use R_EAX directly as gen_scas currently does. This makes SCAS more similar to CMP and SUB, in that CC_DST = T0 - T1. Signed-off-by: Paolo Bonzini --- target/i386/tcg/

[PATCH 13/22] target/i386: do not clobber T0 on string operations

2023-12-22 Thread Paolo Bonzini
The new decoder would rather have the operand in T0 when expanding SCAS, rather than use R_EAX directly as gen_scas currently does. This makes SCAS more similar to CMP and SUB, in that CC_DST = T0 - T1. Signed-off-by: Paolo Bonzini --- target/i386/tcg/translate.c | 45 -