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<pbonz...@redhat.com> --- target/i386/tcg/translate.c | 45 ++++++++++++++++++++----------------- 1 file changed, 24 insertions(+), 21 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org> r~