diff options
-rw-r--r-- | src/arch/x86/isa/decoder/two_byte_opcodes.isa | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/arch/x86/isa/decoder/two_byte_opcodes.isa b/src/arch/x86/isa/decoder/two_byte_opcodes.isa index 97c3dd688..8b8756823 100644 --- a/src/arch/x86/isa/decoder/two_byte_opcodes.isa +++ b/src/arch/x86/isa/decoder/two_byte_opcodes.isa @@ -360,9 +360,11 @@ 0x04: decode LEGACY_DECODEVAL { // no prefix 0x0: decode OPCODE_OP_BOTTOM3 { - 0x0: MOV(Rd,Cd); + 0x0: CondInst::MOV( + {{isValidMiscReg(MISCREG_CR(MODRM_RM))}},Rd,Cd); 0x1: MOV(Rd,Dd); - 0x2: MOV(Cd,Rd); + 0x2: CondInst::MOV( + {{isValidMiscReg(MISCREG_CR(MODRM_REG))}},Cd,Rd); 0x3: MOV(Dd,Rd); default: UD2(); } |