X86: Implement the mov to debug register intructions.

This commit is contained in:
Gabe Black 2009-02-25 10:20:42 -08:00
parent c39ed53d05
commit 28efb3c6e3
2 changed files with 12 additions and 2 deletions

View file

@ -352,9 +352,9 @@
// no prefix
0x0: decode OPCODE_OP_BOTTOM3 {
0x0: Inst::MOV(Rd,Cd);
0x1: mov_Rd_Dd();
0x1: Inst::MOV(Rd,Dd);
0x2: Inst::MOV(Cd,Rd);
0x3: mov_Dd_Rd();
0x3: Inst::MOV(Dd,Rd);
0x4: mov_Rd_Td();
0x6: mov_Td_Rd();
default: Inst::UD2();

View file

@ -199,6 +199,16 @@ def macroop MOV_R_C {
rdcr reg, regm
};
def macroop MOV_D_R {
.adjust_env maxOsz
wrdr reg, regm
};
def macroop MOV_R_D {
.adjust_env maxOsz
rddr reg, regm
};
def macroop MOV_R_S {
rdsel reg, regm
};