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)
commite18a6ec8c4516f2c2b973f452207e74c1b608414
tree70e4b1890d98b2885bc36953cb421c1748ec1568
parent1b627f389f9da48aa8f28808770a731c1e09c338
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>
target/i386/tcg/translate.c