From 40c4b92f1c8df3b501484511f319d7220fd72eca Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Thu, 15 Feb 2024 13:56:40 +0100 Subject: [PATCH] target/i386: merge and enlarge a few ranges for call to disas_insn_new Since new opcodes are not going to be added in translate.c, round the case labels that call to disas_insn_new(), including whole sets of eight opcodes when possible. Reviewed-by: Richard Henderson Signed-off-by: Paolo Bonzini --- target/i386/tcg/translate.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c index f83204bd1e..3060fdbee9 100644 --- a/target/i386/tcg/translate.c +++ b/target/i386/tcg/translate.c @@ -6869,9 +6869,8 @@ static bool disas_insn(DisasContext *s, CPUState *cpu) break; case 0x10e ... 0x117: case 0x128 ... 0x12f: - case 0x138 ... 0x13a: - case 0x150 ... 0x179: - case 0x17c ... 0x17f: + case 0x138 ... 0x13f: + case 0x150 ... 0x17f: case 0x1c2: case 0x1c4 ... 0x1c6: case 0x1d0 ... 0x1fe: