summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2021-06-01 20:55:11 -0700
committerPaolo Bonzini <pbonzini@redhat.com>2021-06-04 13:47:08 +0200
commite18a6ec8c4516f2c2b973f452207e74c1b608414 (patch)
tree70e4b1890d98b2885bc36953cb421c1748ec1568 /target
parent1b627f389f9da48aa8f28808770a731c1e09c338 (diff)
downloadqemu-e18a6ec8c4516f2c2b973f452207e74c1b608414.zip
target/i386: Fix decode of cr8
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>
Diffstat (limited to 'target')
-rw-r--r--target/i386/tcg/translate.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/target/i386/tcg/translate.c b/target/i386/tcg/translate.c
index 834186bcae..a7f5c0c8f2 100644
--- a/target/i386/tcg/translate.c
+++ b/target/i386/tcg/translate.c
@@ -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;