X86: Implement MOVNTI.

This commit is contained in:
Gabe Black 2009-08-17 20:25:15 -07:00
parent 6415252a0f
commit 92867cac95
2 changed files with 10 additions and 3 deletions

View file

@ -907,7 +907,7 @@
// no prefix // no prefix
0x0: decode OPCODE_OP_BOTTOM3 { 0x0: decode OPCODE_OP_BOTTOM3 {
0x2: CMPPS(Vo,Wo,Ib); 0x2: CMPPS(Vo,Wo,Ib);
0x3: WarnUnimpl::movnti_Mdq_Gdq(); 0x3: MOVNTI(Mdp,Gdp);
0x4: PINSRW(Pq,Ew,Ib); 0x4: PINSRW(Pq,Ew,Ib);
0x5: PEXTRW(Gd,PRq,Ib); 0x5: PEXTRW(Gd,PRq,Ib);
0x6: SHUFPS(Vps,Wps,Ib); 0x6: SHUFPS(Vps,Wps,Ib);

View file

@ -346,10 +346,17 @@ processDescriptor:
wrdl reg, t3, t1 wrdl reg, t3, t1
wrsel reg, t1 wrsel reg, t1
}; };
def macroop MOVNTI_M_R {
st reg, seg, sib, disp
};
def macroop MOVNTI_P_R {
rdip t7
st reg, seg, riprel, disp
};
''' '''
#let {{ #let {{
# class MOVD(Inst): # class MOVD(Inst):
# "GenFault ${new UnimpInstFault}" # "GenFault ${new UnimpInstFault}"
# class MOVNTI(Inst):
# "GenFault ${new UnimpInstFault}"
#}}; #}};