]> git.proxmox.com Git - mirror_qemu.git/commitdiff
target/i386: Fix decode of cr8
authorRichard Henderson <richard.henderson@linaro.org>
Wed, 2 Jun 2021 03:55:11 +0000 (20:55 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 4 Jun 2021 11:47:08 +0000 (13:47 +0200)
A recent cleanup did not recognize that there are two ways
to encode cr8: one via the LOCK and the other via REX.

Fixes: 7eff2e7c
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/380
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Message-Id: <20210602035511.96834-1-richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
target/i386/tcg/translate.c

index 834186bcae96c99786fc9759264a1befb0b836e1..a7f5c0c8f20ccd7b53cd98577a8a2a330efcd6a4 100644 (file)
@@ -8091,6 +8091,7 @@ static target_ulong disas_insn(DisasContext *s, CPUState *cpu)
         case 2:
         case 3:
         case 4:
+        case 8:
             break;
         default:
             goto unknown_op;