target/i386: generalize gen_movl_seg_T0
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 28 Feb 2024 10:15:43 +0000 (11:15 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 May 2024 06:53:26 +0000 (08:53 +0200)
commitb603136402d2ae217b5051cd041a8591f09b04ba
treee65d23ac6a1438892580a8d72958ea8affe71348
parent5e9e21bcc4d22dbd4473cab494a1beefbd3786a9
target/i386: generalize gen_movl_seg_T0

In the new decoder it is sometimes easier to put the segment
in T1 instead of T0, usually because another operand was loaded
by common code in T0.  Genrealize gen_movl_seg_T0 to allow
using any source.

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