0x0: decode OPCODE_OP_BOTTOM3 {
0x0: psubusb_Pq_Qq();
0x1: psubusw_Pq_Qq();
- 0x2: pminub_Pq_Qq();
+ 0x2: Inst::PMINUB(Pq,Qq);
0x3: Inst::PAND(Pq,Qq);
0x4: Inst::PADDUSB(Pq,Qq);
0x5: Inst::PADDUSW(Pq,Qq);
0x1: decode OPCODE_OP_BOTTOM3 {
0x0: psubusb_Vo_Wo();
0x1: psubusw_Vo_Wo();
- 0x2: pminub_Vo_Wo();
+ 0x2: Inst::PMINUB(Vo,Wo);
0x3: Inst::PAND(Vo,Wo);
0x4: Inst::PADDUSB(Vo,Wo);
0x5: Inst::PADDUSW(Vo,Wo);
0x0: decode OPCODE_OP_BOTTOM3 {
0x0: psubsb_Pq_Qq();
0x1: psubsw_Pq_Qq();
- 0x2: pminsw_Pq_Qq();
+ 0x2: Inst::PMINSW(Pq,Qq);
0x3: Inst::POR(Pq,Qq);
0x4: Inst::PADDSB(Pq,Qq);
0x5: Inst::PADDSW(Pq,Qq);
0x1: decode OPCODE_OP_BOTTOM3 {
0x0: psubsb_Vo_Wo();
0x1: psubsw_Vo_Wo();
- 0x2: pminsw_Vo_Wo();
+ 0x2: Inst::PMINSW(Vo,Wo);
0x3: Inst::POR(Vo,Wo);
0x4: Inst::PADDSB(Vo,Wo);
0x5: Inst::PADDSW(Vo,Wo);
# Authors: Gabe Black
microcode = '''
+def macroop PMINUB_XMM_XMM {
+ mmini xmml, xmml, xmmlm, size=1, ext=0
+ mmini xmmh, xmmh, xmmhm, size=1, ext=0
+};
+
+def macroop PMINUB_XMM_M {
+ ldfp ufp1, seg, sib, "DISPLACEMENT", dataSize=8
+ ldfp ufp2, seg, sib, "DISPLACEMENT + 8", dataSize=8
+ mmini xmml, xmml, ufp1, size=1, ext=0
+ mmini xmmh, xmmh, ufp2, size=1, ext=0
+};
+
+def macroop PMINUB_XMM_P {
+ rdip t7
+ ldfp ufp1, seg, riprel, "DISPLACEMENT", dataSize=8
+ ldfp ufp2, seg, riprel, "DISPLACEMENT + 8", dataSize=8
+ mmini xmml, xmml, ufp1, size=1, ext=0
+ mmini xmmh, xmmh, ufp2, size=1, ext=0
+};
+
+def macroop PMINSW_XMM_XMM {
+ mmini xmml, xmml, xmmlm, size=2, ext=2
+ mmini xmmh, xmmh, xmmhm, size=2, ext=2
+};
+
+def macroop PMINSW_XMM_M {
+ ldfp ufp1, seg, sib, "DISPLACEMENT", dataSize=8
+ ldfp ufp2, seg, sib, "DISPLACEMENT + 8", dataSize=8
+ mmini xmml, xmml, ufp1, size=2, ext=2
+ mmini xmmh, xmmh, ufp2, size=2, ext=2
+};
+
+def macroop PMINSW_XMM_P {
+ rdip t7
+ ldfp ufp1, seg, riprel, "DISPLACEMENT", dataSize=8
+ ldfp ufp2, seg, riprel, "DISPLACEMENT + 8", dataSize=8
+ mmini xmml, xmml, ufp1, size=2, ext=2
+ mmini xmmh, xmmh, ufp2, size=2, ext=2
+};
+
# PMAXUB
-# PMINUB
# PMAXSW
-# PMINSW
'''
# Authors: Gabe Black
microcode = '''
+def macroop PMINUB_MMX_MMX {
+ mmini mmx, mmx, mmxm, size=1, ext=0
+};
+
+def macroop PMINUB_MMX_M {
+ ldfp ufp1, seg, sib, disp, dataSize=8
+ mmini mmx, mmx, ufp1, size=1, ext=0
+};
+
+def macroop PMINUB_MMX_P {
+ rdip t7
+ ldfp ufp1, seg, riprel, disp, dataSize=8
+ mmini mmx, mmx, ufp1, size=1, ext=0
+};
+
+def macroop PMINSW_MMX_MMX {
+ mmini mmx, mmx, mmxm, size=2, ext=2
+};
+
+def macroop PMINSW_MMX_M {
+ ldfp ufp1, seg, sib, disp, dataSize=8
+ mmini mmx, mmx, ufp1, size=2, ext=2
+};
+
+def macroop PMINSW_MMX_P {
+ rdip t7
+ ldfp ufp1, seg, riprel, disp, dataSize=8
+ mmini mmx, mmx, ufp1, size=2, ext=2
+};
+
# PMAXUB
-# PMINUB
# PMAXSW
-# PMINSW
'''