]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
target/i386: merge and enlarge a few ranges for call to disas_insn_new
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 Feb 2024 12:56:40 +0000 (13:56 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 7 May 2024 06:53:26 +0000 (08:53 +0200)
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 <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/translate.c

index f83204bd1ed8ed1d86a519d47dbde9a5b7ad9654..3060fdbee94bcbfeca521c75373ffe76a857835b 100644 (file)
@@ -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: