target/i386: pull load/writeback out of gen_shiftd_rm_T1
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 10 May 2024 08:38:29 +0000 (10:38 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 17 Jun 2024 07:47:39 +0000 (09:47 +0200)
commit87b2037b65d07d43edff1c4e177e9136dff32896
tree3fb708ac0fd577fbbd0af72f9c0805da01e0278e
parentae541c0eb47f2fbcfd975c8e2fcb0e3a2613dc1c
target/i386: pull load/writeback out of gen_shiftd_rm_T1

Use gen_ld_modrm/gen_st_modrm, moving them and gen_shift_flags to the
caller.  This way, gen_shiftd_rm_T1 becomes something that the new
decoder can call.

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