target/i386: change X86_ENTRYwr to use T0, use it for moves
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 8 May 2024 09:06:50 +0000 (11:06 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 11 Jun 2024 12:29:22 +0000 (14:29 +0200)
commit4e2dc59cf99b5d352b426ee30b8fbb9804e237d1
tree664b32a9611eebbf1a2a76b7d0f6554915295ba3
parentc2b6b6a65a227d2bb45e1b2694cf064b881543e4
target/i386: change X86_ENTRYwr to use T0, use it for moves

Just like X86_ENTRYr, X86_ENTRYwr is easily changed to use only T0.
In this case, the motivation is to use it for the MOV instruction
family.  The case when you need to preserve the input value is the
odd one, as it is used basically only for BLS* instructions.

Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/decode-new.c.inc
target/i386/tcg/emit.c.inc