target/i386: extract common bits of gen_repz/gen_repz_nz
authorPaolo Bonzini <pbonzini@redhat.com>
Tue, 21 Jan 2025 10:35:45 +0000 (11:35 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Jan 2025 10:50:44 +0000 (11:50 +0100)
commit82290c76476021c647824f816d8ccfbbfb773b2e
tree75abb8246d6125ebedbb37c9ff543c0504555947
parent4f094e27f3ad2a35e305cb26a2926864815b6ac6
target/i386: extract common bits of gen_repz/gen_repz_nz

Now that everything has been cleaned up, look at DF and prefixes
in a single function, and call that one from gen_repz and gen_repz_nz.

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