target/i386: Fix decode of cr8
PATCH 1/1 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 <[email protected]>
--- target/i386/tcg/translate.c | 1 + 1 file changed, 1 insertion(+)
target/i386/tcg/translate.c +1 -0
@@ -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;
Signature · 1 line
2.25.1
Paolo Bonzini
AppliedQuoted 16 lines · Richard Henderson
A recent cleanup did not recognize that there are two ways to encode cr8: one via the LOCK and the other via REX.
Fixes 7eff2e7cResolves: https://gitlab.com/qemu-project/qemu/-/issues/380
Signed-off-by Richard Henderson <[email protected]>--- target/i386/tcg/translate.c | 1 + 1 file changed, 1 insertion(+)target/i386/tcg/translate.c +0
-0
target/i386/tcg/translate.c static target_ulong disas_insn(DisasContext *s, CPUState *cpu) · line 8097
Quoted 7 lines
target/i386/tcg/translate.c +1
-0@@ -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;
Queued, thanks.
Paolo