From: Paolo Bonzini Date: Mon, 24 Nov 2025 12:38:53 +0000 (+0100) Subject: target/i386/tcg: remove do_decode_0F X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73c2d6207971c65a210922d49ddb4ca0354022fb;p=thirdparty%2Fqemu.git target/i386/tcg: remove do_decode_0F It is not needed anymore since all prefixes are handled by the new decoder. Reviewed-by: Richard Henderson Signed-off-by: Paolo Bonzini --- diff --git a/target/i386/tcg/decode-new.c.inc b/target/i386/tcg/decode-new.c.inc index 8a1fb2855d..d2c024ea34 100644 --- a/target/i386/tcg/decode-new.c.inc +++ b/target/i386/tcg/decode-new.c.inc @@ -1430,15 +1430,10 @@ static const X86OpEntry opcodes_0F[256] = { [0xff] = X86_OP_ENTRYr(UD, nop,v), /* UD0 */ }; -static void do_decode_0F(DisasContext *s, CPUX86State *env, X86OpEntry *entry, uint8_t *b) -{ - *entry = opcodes_0F[*b]; -} - static void decode_0F(DisasContext *s, CPUX86State *env, X86OpEntry *entry, uint8_t *b) { *b = x86_ldub_code(env, s); - do_decode_0F(s, env, entry, b); + *entry = opcodes_0F[*b]; } static void decode_63(DisasContext *s, CPUX86State *env, X86OpEntry *entry, uint8_t *b)