1 movd r32.sd
[1234] mm.sd
[1111,2222] => 1.sd
[1234,0]
2 movd m32.sd
[1234] mm.sd
[1111,2222] => 1.sd
[1234,0]
3 movd mm.sd
[1234,2222] r32.sd
[1111] => 1.sd
[1234]
4 movd mm.sd
[1234,2222] m32.sd
[1111] => 1.sd
[1234]
5 movq mm.uq
[0x012345678abcdef] mm.uq
[0x1212121234343434] => 1.uq
[0x012345678abcdef]
6 movq m64.uq
[0x012345678abcdef] mm.uq
[0x1212121234343434] => 1.uq
[0x012345678abcdef]
7 movq mm.uq
[0x012345678abcdef] m64.uq
[0x1212121234343434] => 1.uq
[0x012345678abcdef]
8 packssdw mm.sd
[12345,123456] mm.sd
[-12345,-123456] => 1.sw
[-12345,-32768,12345,32767]
9 packssdw m64.sd
[12345,123456] mm.sd
[-12345,-123456] => 1.sw
[-12345,-32768,12345,32767]
10 packsswb mm.sw
[123,-123,1234,-1234] mm.sw
[21,-21,321,-321] => 1.sb
[21,-21,127,-128,123,-123,127,-128]
11 packsswb m64.sw
[123,-123,1234,-1234] mm.sw
[21,-21,321,-321] => 1.sb
[21,-21,127,-128,123,-123,127,-128]
12 packuswb mm.sw
[123,-123,1234,-1234] mm.sw
[21,-21,321,-321] => 1.ub
[21,0,255,0,123,0,255,0]
13 packuswb m64.sw
[123,-123,1234,-1234] mm.sw
[21,-21,321,-321] => 1.ub
[21,0,255,0,123,0,255,0]
14 paddb mm.sb
[12,34,56,78,21,43,65,87] mm.sb
[8,7,6,5,4,3,2,1] => 1.sb
[20,41,62,83,25,46,67,88]
15 paddb m64.sb
[12,34,56,78,21,43,65,87] mm.sb
[8,7,6,5,4,3,2,1] => 1.sb
[20,41,62,83,25,46,67,88]
16 paddd mm.sd
[12345678,87654321] mm.sd
[8765,4321] => 1.sd
[12354443,87658642]
17 paddd m64.sd
[12345678,87654321] mm.sd
[8765,4321] => 1.sd
[12354443,87658642]
18 paddsb mm.sb
[25,-25,50,-50,100,-100,125,-125] mm.sb
[40,-40,30,-30,20,-20,10,-10] => 1.sb
[65,-65,80,-80,120,-120,127,-128]
19 paddsb m64.sb
[25,-25,50,-50,100,-100,125,-125] mm.sb
[40,-40,30,-30,20,-20,10,-10] => 1.sb
[65,-65,80,-80,120,-120,127,-128]
20 paddsw mm.sw
[12345,-12345,32145,-32145] mm.sw
[32145,-32145,-12345,12345] => 1.sw
[32767,-32768,19800,-19800]
21 paddsw m64.sw
[12345,-12345,32145,-32145] mm.sw
[32145,-32145,-12345,12345] => 1.sw
[32767,-32768,19800,-19800]
22 paddusb mm.ub
[25,50,75,100,125,150,175,200] mm.ub
[10,20,30,40,50,60,70,80] => 1.ub
[35,70,105,140,175,210,245,255]
23 paddusb m64.ub
[25,50,75,100,125,150,175,200] mm.ub
[10,20,30,40,50,60,70,80] => 1.ub
[35,70,105,140,175,210,245,255]
24 paddusw mm.uw
[22222,33333,44444,55555] mm.uw
[6666,7777,8888,9999] => 1.uw
[28888,41110,53332,65535]
25 paddusw m64.uw
[22222,33333,44444,55555] mm.uw
[6666,7777,8888,9999] => 1.uw
[28888,41110,53332,65535]
26 paddw mm.sw
[1234,5678,4321,8765] mm.sw
[87,65,43,21] => 1.sw
[1321,5743,4364,8786]
27 paddw m64.sw
[1234,5678,4321,8765] mm.sw
[87,65,43,21] => 1.sw
[1321,5743,4364,8786]
28 pand mm.uq
[0xfdb97531eca86420] mm.uq
[0x0123456789abcdef] => 1.uq
[0x0121452188a84420]
29 pand m64.uq
[0xfdb97531eca86420] mm.uq
[0x0123456789abcdef] => 1.uq
[0x0121452188a84420]
30 pandn mm.uq
[0xfdb97531eca86420] mm.uq
[0x0123456789abcdef] => 1.uq
[0xfc98301064002000]
31 pandn m64.uq
[0xfdb97531eca86420] mm.uq
[0x0123456789abcdef] => 1.uq
[0xfc98301064002000]
32 pcmpeqb mm.ub
[11,22,33,44,55,66,77,88] mm.ub
[11,11,33,33,55,55,77,77] => 1.ub
[0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00]
33 pcmpeqb m64.ub
[11,22,33,44,55,66,77,88] mm.ub
[11,11,33,33,55,55,77,77] => 1.ub
[0xff,0x00,0xff,0x00,0xff,0x00,0xff,0x00]
34 pcmpeqd mm.ud
[11223344,55667788] mm.ud
[11223344,11223344] => 1.ud
[0xffffffff,0x00000000]
35 pcmpeqd m64.ud
[11223344,55667788] mm.ud
[11223344,11223344] => 1.ud
[0xffffffff,0x00000000]
36 pcmpeqw mm.uw
[1122,3344,5566,7788] mm.uw
[1122,1122,5566,5566] => 1.uw
[0xffff,0x0000,0xffff,0x0000]
37 pcmpeqw m64.uw
[1122,3344,5566,7788] mm.uw
[1122,1122,5566,5566] => 1.uw
[0xffff,0x0000,0xffff,0x0000]
38 pcmpgtb mm.sb
[-77,-55,-33,-11,11,33,55,77] mm.sb
[77,55,33,11,-11,-33,-55,-77] => 1.ub
[0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00]
39 pcmpgtb m64.sb
[-77,-55,-33,-11,11,33,55,77] mm.sb
[77,55,33,11,-11,-33,-55,-77] => 1.ub
[0xff,0xff,0xff,0xff,0x00,0x00,0x00,0x00]
40 pcmpgtd mm.sd
[-11111111,11111111] mm.sd
[11111111,-11111111] => 1.ud
[0xffffffff,0x00000000]
41 pcmpgtd m64.sd
[-11111111,11111111] mm.sd
[11111111,-11111111] => 1.ud
[0xffffffff,0x00000000]
42 pcmpgtw mm.sw
[-3333,-1111,1111,3333] mm.sw
[3333,1111,-1111,-3333] => 1.uw
[0xffff,0xffff,0x0000,0x0000]
43 pcmpgtw m64.sw
[-3333,-1111,1111,3333] mm.sw
[3333,1111,-1111,-3333] => 1.uw
[0xffff,0xffff,0x0000,0x0000]
44 pmaddwd mm.sw
[1234,5678,-4321,-8765] mm.sw
[1111,-2222,3333,-4444] => 1.sd
[-11245542,24549767]
45 pmaddwd m64.sw
[1234,5678,-4321,-8765] mm.sw
[1111,-2222,3333,-4444] => 1.sd
[-11245542,24549767]
46 pmulhw mm.sw
[1111,2222,-1111,-2222] mm.sw
[3333,-4444,3333,-4444] => 1.uw
[0x0038,0xff69,0xffc7,0x0096]
47 pmulhw m64.sw
[1111,2222,-1111,-2222] mm.sw
[3333,-4444,3333,-4444] => 1.uw
[0x0038,0xff69,0xffc7,0x0096]
48 pmullw mm.sw
[1111,2222,-1111,-2222] mm.sw
[3333,-4444,3333,-4444] => 1.uw
[0x80b3,0x5378,0x7f4d,0xac88]
49 pmullw m64.sw
[1111,2222,-1111,-2222] mm.sw
[3333,-4444,3333,-4444] => 1.uw
[0x80b3,0x5378,0x7f4d,0xac88]
50 por mm.uq
[0xfdb97531eca86420] mm.uq
[0x0123456789abcdef] => 1.uq
[0xfdbb7577edabedef]
51 por m64.uq
[0xfdb97531eca86420] mm.uq
[0x0123456789abcdef] => 1.uq
[0xfdbb7577edabedef]
52 pslld imm8
[4] mm.ud
[0x01234567,0x89abcdef] => 1.ud
[0x12345670,0x9abcdef0]
53 pslld mm.uq
[4] mm.ud
[0x01234567,0x89abcdef] => 1.ud
[0x12345670,0x9abcdef0]
54 pslld m64.uq
[4] mm.ud
[0x01234567,0x89abcdef] => 1.ud
[0x12345670,0x9abcdef0]
55 psllq imm8
[4] mm.uq
[0x0123456789abcdef] => 1.uq
[0x123456789abcdef0]
56 psllq mm.uq
[4] mm.uq
[0x0123456789abcdef] => 1.uq
[0x123456789abcdef0]
57 psllq m64.uq
[4] mm.uq
[0x0123456789abcdef] => 1.uq
[0x123456789abcdef0]
58 psllw imm8
[4] mm.uw
[0x0123,0x4567,0x89ab,0xcdef] => 1.uw
[0x1230,0x5670,0x9ab0,0xdef0]
59 psllw mm.uq
[4] mm.uw
[0x0123,0x4567,0x89ab,0xcdef] => 1.uw
[0x1230,0x5670,0x9ab0,0xdef0]
60 psllw m64.uq
[4] mm.uw
[0x0123,0x4567,0x89ab,0xcdef] => 1.uw
[0x1230,0x5670,0x9ab0,0xdef0]
61 psrad imm8
[4] mm.ud
[0x01234567,0x89abcdef] => 1.ud
[0x00123456,0xf89abcde]
62 psrad mm.uq
[4] mm.ud
[0x01234567,0x89abcdef] => 1.ud
[0x00123456,0xf89abcde]
63 psrad m64.uq
[4] mm.ud
[0x01234567,0x89abcdef] => 1.ud
[0x00123456,0xf89abcde]
64 psraw imm8
[4] mm.uw
[0x0123,0x4567,0x89ab,0xcdef] => 1.uw
[0x0012,0x0456,0xf89a,0xfcde]
65 psraw mm.uq
[4] mm.uw
[0x0123,0x4567,0x89ab,0xcdef] => 1.uw
[0x0012,0x0456,0xf89a,0xfcde]
66 psraw m64.uq
[4] mm.uw
[0x0123,0x4567,0x89ab,0xcdef] => 1.uw
[0x0012,0x0456,0xf89a,0xfcde]
67 psrld imm8
[4] mm.ud
[0x01234567,0x89abcdef] => 1.ud
[0x00123456,0x089abcde]
68 psrld mm.uq
[4] mm.ud
[0x01234567,0x89abcdef] => 1.ud
[0x00123456,0x089abcde]
69 psrld m64.uq
[4] mm.ud
[0x01234567,0x89abcdef] => 1.ud
[0x00123456,0x089abcde]
70 psrlq imm8
[4] mm.uq
[0x0123456789abcdef] => 1.uq
[0x00123456789abcde]
71 psrlq mm.uq
[4] mm.uq
[0x0123456789abcdef] => 1.uq
[0x00123456789abcde]
72 psrlq m64.uq
[4] mm.uq
[0x0123456789abcdef] => 1.uq
[0x00123456789abcde]
73 psrlw imm8
[4] mm.uw
[0x0123,0x4567,0x89ab,0xcdef] => 1.uw
[0x0012,0x0456,0x089a,0x0cde]
74 psrlw mm.uq
[4] mm.uw
[0x0123,0x4567,0x89ab,0xcdef] => 1.uw
[0x0012,0x0456,0x089a,0x0cde]
75 psrlw m64.uq
[4] mm.uw
[0x0123,0x4567,0x89ab,0xcdef] => 1.uw
[0x0012,0x0456,0x089a,0x0cde]
76 psubb mm.sb
[8,7,6,5,4,3,2,1] mm.sb
[12,34,56,78,21,43,65,87] => 1.sb
[4,27,50,73,17,40,63,86]
77 psubb m64.sb
[8,7,6,5,4,3,2,1] mm.sb
[12,34,56,78,21,43,65,87] => 1.sb
[4,27,50,73,17,40,63,86]
78 psubd mm.sd
[8765,4321] mm.sd
[12345678,87654321] => 1.sd
[12336913,87650000]
79 psubd m64.sd
[8765,4321] mm.sd
[12345678,87654321] => 1.sd
[12336913,87650000]
80 psubsb mm.sb
[-50,50,-40,40,-30,30,-20,20] mm.sb
[25,-25,50,-50,100,-100,125,-125] => 1.sb
[75,-75,90,-90,127,-128,127,-128]
81 psubsb m64.sb
[-50,50,-40,40,-30,30,-20,20] mm.sb
[25,-25,50,-50,100,-100,125,-125] => 1.sb
[75,-75,90,-90,127,-128,127,-128]
82 psubsw mm.sw
[-32145,32145,12345,-12345] mm.sw
[12345,-12345,32145,-32145] => 1.sw
[32767,-32768,19800,-19800]
83 psubsw m64.sw
[-32145,32145,12345,-12345] mm.sw
[12345,-12345,32145,-32145] => 1.sw
[32767,-32768,19800,-19800]
84 psubusb mm.ub
[11,22,33,44,55,66,77,88] mm.ub
[88,77,66,55,44,33,22,11] => 1.ub
[77,55,33,11,0,0,0,0]
85 psubusb m64.ub
[11,22,33,44,55,66,77,88] mm.ub
[88,77,66,55,44,33,22,11] => 1.ub
[77,55,33,11,0,0,0,0]
86 psubusw mm.uw
[1122,3344,5566,7788] mm.uw
[8877,6655,4433,2211] => 1.uw
[7755,3311,0,0]
87 psubusw m64.uw
[1122,3344,5566,7788] mm.uw
[8877,6655,4433,2211] => 1.uw
[7755,3311,0,0]
88 psubw mm.sw
[87,65,43,21] mm.sw
[1234,5678,4321,8765] => 1.sw
[1147,5613,4278,8744]
89 psubw m64.sw
[87,65,43,21] mm.sw
[1234,5678,4321,8765] => 1.sw
[1147,5613,4278,8744]
90 punpckhbw mm.ub
[12,34,56,78,21,43,65,87] mm.ub
[11,22,33,44,55,66,77,88] => 1.ub
[55,21,66,43,77,65,88,87]
91 punpckhbw m64.ub
[12,34,56,78,21,43,65,87] mm.ub
[11,22,33,44,55,66,77,88] => 1.ub
[55,21,66,43,77,65,88,87]
92 punpckhdq mm.ud
[12345678,21436587] mm.ud
[11223344,55667788] => 1.ud
[55667788,21436587]
93 punpckhdq m64.ud
[12345678,21436587] mm.ud
[11223344,55667788] => 1.ud
[55667788,21436587]
94 punpckhwd mm.uw
[1234,5678,2143,6587] mm.uw
[1122,3344,5566,7788] => 1.uw
[5566,2143,7788,6587]
95 punpckhwd m64.uw
[1234,5678,2143,6587] mm.uw
[1122,3344,5566,7788] => 1.uw
[5566,2143,7788,6587]
96 punpcklbw mm.ub
[12,34,56,78,21,43,65,87] mm.ub
[11,22,33,44,55,66,77,88] => 1.ub
[11,12,22,34,33,56,44,78]
97 punpcklbw m64.ub
[12,34,56,78,21,43,65,87] mm.ub
[11,22,33,44,55,66,77,88] => 1.ub
[11,12,22,34,33,56,44,78]
98 punpckldq mm.ud
[12345678,21436587] mm.ud
[11223344,55667788] => 1.ud
[11223344,12345678]
99 punpckldq m64.ud
[12345678,21436587] mm.ud
[11223344,55667788] => 1.ud
[11223344,12345678]
100 punpcklwd mm.uw
[1234,5678,2143,6587] mm.uw
[1122,3344,5566,7788] => 1.uw
[1122,1234,3344,5678]
101 punpcklwd m64.uw
[1234,5678,2143,6587] mm.uw
[1122,3344,5566,7788] => 1.uw
[1122,1234,3344,5678]
102 pxor mm.uq
[0xfdb97531eca86420] mm.uq
[0x0123456789abcdef] => 1.uq
[0xfc9a30566503a9cf]
103 pxor m64.uq
[0xfdb97531eca86420] mm.uq
[0x0123456789abcdef] => 1.uq
[0xfc9a30566503a9cf]