commit | c0099cd40e368d8a8505c93813bffdd752c2b859 | [log] [tgz] |
---|---|---|
author | Paolo Bonzini <pbonzini@redhat.com> | Thu Oct 19 16:55:39 2023 +0200 |
committer | Paolo Bonzini <pbonzini@redhat.com> | Fri Dec 29 22:03:24 2023 +0100 |
tree | 75cc7502c60820bf8696917ffb33ad5924762b0b | |
parent | 24c0573bb0c3f55c47926e3cb047a716608cd113 [diff] |
target/i386: do not clobber T0 on string operations 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. Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>