0x4: paddsb_Pq_Qq();
0x5: paddsw_Pq_Qq();
0x6: pmaxsw_Pq_Qq();
- 0x7: pxor_Pq_Qq();
+ 0x7: Inst::PXOR(Pq,Qq);
}
// operand size (0x66)
0x1: decode OPCODE_OP_BOTTOM3 {
0x4: paddsb_Vo_Wo();
0x5: paddsw_Vo_Wo();
0x6: pmaxsw_Vo_Wo();
- 0x7: pxor_Vo_Wo();
+ 0x7: Inst::PXOR(Vo,Wo);
}
default: Inst::UD2();
}
# Authors: Gabe Black
microcode = '''
-# PXOR
+def macroop PXOR_XMM_XMM {
+ mxor xmml, xmml, xmmlm
+ mxor xmmh, xmmh, xmmhm
+};
+
+def macroop PXOR_XMM_M {
+ lea t1, seg, sib, disp, dataSize=asz
+ ldfp ufp1, seg, [1, t0, t1], dataSize=8
+ ldfp ufp2, seg, [1, t0, t1], 8, dataSize=8
+ mxor xmml, xmml, ufp1
+ mxor xmmh, xmmh, ufp2
+};
+
+def macroop PXOR_XMM_P {
+ rdip t7
+ lea t1, seg, riprel, disp, dataSize=asz
+ ldfp ufp1, seg, [1, t0, t1], dataSize=8
+ ldfp ufp2, seg, [1, t0, t1], 8, dataSize=8
+ mxor xmml, xmml, ufp1
+ mxor xmmh, xmmh, ufp2
+};
'''
# Authors: Gabe Black
microcode = '''
-# PXOR
+def macroop PXOR_MMX_MMX {
+ mxor mmx, mmx, mmxm
+};
+
+def macroop PXOR_MMX_M {
+ ldfp ufp1, seg, sib, disp, dataSize=8
+ mxor mmx, mmx, ufp1
+};
+
+def macroop PXOR_MMX_P {
+ rdip t7
+ ldfp ufp1, seg, riprel, disp, dataSize=8
+ mxor mmx, mmx, ufp1
+};
'''