X86: Implement the versions of MOVD that have an MMX source.

This commit is contained in:
Gabe Black 2009-08-17 18:16:07 -07:00
parent 247ed2379d
commit fca7cb83f0
2 changed files with 14 additions and 1 deletions

View file

@ -740,7 +740,7 @@
0x0: decode OPCODE_OP_BOTTOM3 {
0x0: vmread_Ed_or_Eq_Gd_or_Gq();
0x1: vmwrite_Gd_or_Gq_Ed_or_Eq();
0x6: mov_Ed_Pd();
0x6: Inst::MOVD(Edp,Pdp);
0x7: mov_Qq_Pq();
default: Inst::UD2();
}

View file

@ -66,6 +66,19 @@ def macroop MOVD_MMX_P {
rdip t7
ldfp mmx, seg, riprel, disp, dataSize=8
};
def macroop MOVD_R_MMX {
mov2int reg, mmxm, size=dsz
};
def macroop MOVD_M_MMX {
stfp mmx, seg, sib, disp, dataSize=8
};
def macroop MOVD_P_MMX {
rdip t7
stfp mmx, seg, riprel, disp, dataSize=8
};
'''
# MOVQ
# MOVDQA