On 12/10/25 07:16, Paolo Bonzini wrote:
It is not needed anymore since all prefixes are handled by the
new decoder.

Signed-off-by: Paolo Bonzini <[email protected]>
---
  target/i386/tcg/decode-new.c.inc | 7 +------
  1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/target/i386/tcg/decode-new.c.inc b/target/i386/tcg/decode-new.c.inc
index 213dbb9637c..ea8e26f7f98 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)

Reviewed-by: Richard Henderson <[email protected]>

r~

Reply via email to