target/i386: do not use s->T0 and s->T1 as scratch registers for CCPrepare
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 10 Apr 2024 09:57:15 +0000 (11:57 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 May 2024 06:51:59 +0000 (08:51 +0200)
commit89e4e65ac0efd8d55d47fb7150d801ca4586872e
treea19e092e3d5d4b031f9cdb6993c82dfd5fefb1f7
parentbccb0c138e5138c86169216bce280b1ebde44e1b
target/i386: do not use s->T0 and s->T1 as scratch registers for CCPrepare

Instead of using s->T0 or s->T1, create a scratch register
when computing the C, NC, L or LE conditions.

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