1 // RUN
: llvm-mc
-triple i686-unknown-unknown
-mattr
=+avxvnniint8
--show-encoding
%s | FileCheck
%s
3 // CHECK
: vpdpbssd
%ymm4
, %ymm3
, %ymm2
4 // CHECK
: encoding
: [0xc4,0xe2,0x67,0x50,0xd4]
5 vpdpbssd
%ymm4
, %ymm3
, %ymm2
7 // CHECK
: vpdpbssd
%xmm4
, %xmm3
, %xmm2
8 // CHECK
: encoding
: [0xc4,0xe2,0x63,0x50,0xd4]
9 vpdpbssd
%xmm4
, %xmm3
, %xmm2
11 // CHECK
: vpdpbssd
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
12 // CHECK
: encoding
: [0xc4,0xe2,0x67,0x50,0x94,0xf4,0x00,0x00,0x00,0x10]
13 vpdpbssd
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
15 // CHECK
: vpdpbssd
291(%edi
,%eax
,4), %ymm3
, %ymm2
16 // CHECK
: encoding
: [0xc4,0xe2,0x67,0x50,0x94,0x87,0x23,0x01,0x00,0x00]
17 vpdpbssd
291(%edi
,%eax
,4), %ymm3
, %ymm2
19 // CHECK
: vpdpbssd
(%eax
), %ymm3
, %ymm2
20 // CHECK
: encoding
: [0xc4,0xe2,0x67,0x50,0x10]
21 vpdpbssd
(%eax
), %ymm3
, %ymm2
23 // CHECK
: vpdpbssd
-1024(,%ebp
,2), %ymm3
, %ymm2
24 // CHECK
: encoding
: [0xc4,0xe2,0x67,0x50,0x14,0x6d,0x00,0xfc,0xff,0xff]
25 vpdpbssd
-1024(,%ebp
,2), %ymm3
, %ymm2
27 // CHECK
: vpdpbssd
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
28 // CHECK
: encoding
: [0xc4,0xe2,0x63,0x50,0x94,0xf4,0x00,0x00,0x00,0x10]
29 vpdpbssd
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
31 // CHECK
: vpdpbssd
291(%edi
,%eax
,4), %xmm3
, %xmm2
32 // CHECK
: encoding
: [0xc4,0xe2,0x63,0x50,0x94,0x87,0x23,0x01,0x00,0x00]
33 vpdpbssd
291(%edi
,%eax
,4), %xmm3
, %xmm2
35 // CHECK
: vpdpbssd
(%eax
), %xmm3
, %xmm2
36 // CHECK
: encoding
: [0xc4,0xe2,0x63,0x50,0x10]
37 vpdpbssd
(%eax
), %xmm3
, %xmm2
39 // CHECK
: vpdpbssd
-512(,%ebp
,2), %xmm3
, %xmm2
40 // CHECK
: encoding
: [0xc4,0xe2,0x63,0x50,0x14,0x6d,0x00,0xfe,0xff,0xff]
41 vpdpbssd
-512(,%ebp
,2), %xmm3
, %xmm2
43 // CHECK
: vpdpbssds
%ymm4
, %ymm3
, %ymm2
44 // CHECK
: encoding
: [0xc4,0xe2,0x67,0x51,0xd4]
45 vpdpbssds
%ymm4
, %ymm3
, %ymm2
47 // CHECK
: vpdpbssds
%xmm4
, %xmm3
, %xmm2
48 // CHECK
: encoding
: [0xc4,0xe2,0x63,0x51,0xd4]
49 vpdpbssds
%xmm4
, %xmm3
, %xmm2
51 // CHECK
: vpdpbssds
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
52 // CHECK
: encoding
: [0xc4,0xe2,0x67,0x51,0x94,0xf4,0x00,0x00,0x00,0x10]
53 vpdpbssds
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
55 // CHECK
: vpdpbssds
291(%edi
,%eax
,4), %ymm3
, %ymm2
56 // CHECK
: encoding
: [0xc4,0xe2,0x67,0x51,0x94,0x87,0x23,0x01,0x00,0x00]
57 vpdpbssds
291(%edi
,%eax
,4), %ymm3
, %ymm2
59 // CHECK
: vpdpbssds
(%eax
), %ymm3
, %ymm2
60 // CHECK
: encoding
: [0xc4,0xe2,0x67,0x51,0x10]
61 vpdpbssds
(%eax
), %ymm3
, %ymm2
63 // CHECK
: vpdpbssds
-1024(,%ebp
,2), %ymm3
, %ymm2
64 // CHECK
: encoding
: [0xc4,0xe2,0x67,0x51,0x14,0x6d,0x00,0xfc,0xff,0xff]
65 vpdpbssds
-1024(,%ebp
,2), %ymm3
, %ymm2
67 // CHECK
: vpdpbssds
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
68 // CHECK
: encoding
: [0xc4,0xe2,0x63,0x51,0x94,0xf4,0x00,0x00,0x00,0x10]
69 vpdpbssds
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
71 // CHECK
: vpdpbssds
291(%edi
,%eax
,4), %xmm3
, %xmm2
72 // CHECK
: encoding
: [0xc4,0xe2,0x63,0x51,0x94,0x87,0x23,0x01,0x00,0x00]
73 vpdpbssds
291(%edi
,%eax
,4), %xmm3
, %xmm2
75 // CHECK
: vpdpbssds
(%eax
), %xmm3
, %xmm2
76 // CHECK
: encoding
: [0xc4,0xe2,0x63,0x51,0x10]
77 vpdpbssds
(%eax
), %xmm3
, %xmm2
79 // CHECK
: vpdpbssds
-512(,%ebp
,2), %xmm3
, %xmm2
80 // CHECK
: encoding
: [0xc4,0xe2,0x63,0x51,0x14,0x6d,0x00,0xfe,0xff,0xff]
81 vpdpbssds
-512(,%ebp
,2), %xmm3
, %xmm2
83 // CHECK
: vpdpbsud
%ymm4
, %ymm3
, %ymm2
84 // CHECK
: encoding
: [0xc4,0xe2,0x66,0x50,0xd4]
85 vpdpbsud
%ymm4
, %ymm3
, %ymm2
87 // CHECK
: vpdpbsud
%xmm4
, %xmm3
, %xmm2
88 // CHECK
: encoding
: [0xc4,0xe2,0x62,0x50,0xd4]
89 vpdpbsud
%xmm4
, %xmm3
, %xmm2
91 // CHECK
: vpdpbsud
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
92 // CHECK
: encoding
: [0xc4,0xe2,0x66,0x50,0x94,0xf4,0x00,0x00,0x00,0x10]
93 vpdpbsud
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
95 // CHECK
: vpdpbsud
291(%edi
,%eax
,4), %ymm3
, %ymm2
96 // CHECK
: encoding
: [0xc4,0xe2,0x66,0x50,0x94,0x87,0x23,0x01,0x00,0x00]
97 vpdpbsud
291(%edi
,%eax
,4), %ymm3
, %ymm2
99 // CHECK
: vpdpbsud
(%eax
), %ymm3
, %ymm2
100 // CHECK
: encoding
: [0xc4,0xe2,0x66,0x50,0x10]
101 vpdpbsud
(%eax
), %ymm3
, %ymm2
103 // CHECK
: vpdpbsud
-1024(,%ebp
,2), %ymm3
, %ymm2
104 // CHECK
: encoding
: [0xc4,0xe2,0x66,0x50,0x14,0x6d,0x00,0xfc,0xff,0xff]
105 vpdpbsud
-1024(,%ebp
,2), %ymm3
, %ymm2
107 // CHECK
: vpdpbsud
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
108 // CHECK
: encoding
: [0xc4,0xe2,0x62,0x50,0x94,0xf4,0x00,0x00,0x00,0x10]
109 vpdpbsud
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
111 // CHECK
: vpdpbsud
291(%edi
,%eax
,4), %xmm3
, %xmm2
112 // CHECK
: encoding
: [0xc4,0xe2,0x62,0x50,0x94,0x87,0x23,0x01,0x00,0x00]
113 vpdpbsud
291(%edi
,%eax
,4), %xmm3
, %xmm2
115 // CHECK
: vpdpbsud
(%eax
), %xmm3
, %xmm2
116 // CHECK
: encoding
: [0xc4,0xe2,0x62,0x50,0x10]
117 vpdpbsud
(%eax
), %xmm3
, %xmm2
119 // CHECK
: vpdpbsud
-512(,%ebp
,2), %xmm3
, %xmm2
120 // CHECK
: encoding
: [0xc4,0xe2,0x62,0x50,0x14,0x6d,0x00,0xfe,0xff,0xff]
121 vpdpbsud
-512(,%ebp
,2), %xmm3
, %xmm2
123 // CHECK
: vpdpbsuds
%ymm4
, %ymm3
, %ymm2
124 // CHECK
: encoding
: [0xc4,0xe2,0x66,0x51,0xd4]
125 vpdpbsuds
%ymm4
, %ymm3
, %ymm2
127 // CHECK
: vpdpbsuds
%xmm4
, %xmm3
, %xmm2
128 // CHECK
: encoding
: [0xc4,0xe2,0x62,0x51,0xd4]
129 vpdpbsuds
%xmm4
, %xmm3
, %xmm2
131 // CHECK
: vpdpbsuds
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
132 // CHECK
: encoding
: [0xc4,0xe2,0x66,0x51,0x94,0xf4,0x00,0x00,0x00,0x10]
133 vpdpbsuds
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
135 // CHECK
: vpdpbsuds
291(%edi
,%eax
,4), %ymm3
, %ymm2
136 // CHECK
: encoding
: [0xc4,0xe2,0x66,0x51,0x94,0x87,0x23,0x01,0x00,0x00]
137 vpdpbsuds
291(%edi
,%eax
,4), %ymm3
, %ymm2
139 // CHECK
: vpdpbsuds
(%eax
), %ymm3
, %ymm2
140 // CHECK
: encoding
: [0xc4,0xe2,0x66,0x51,0x10]
141 vpdpbsuds
(%eax
), %ymm3
, %ymm2
143 // CHECK
: vpdpbsuds
-1024(,%ebp
,2), %ymm3
, %ymm2
144 // CHECK
: encoding
: [0xc4,0xe2,0x66,0x51,0x14,0x6d,0x00,0xfc,0xff,0xff]
145 vpdpbsuds
-1024(,%ebp
,2), %ymm3
, %ymm2
147 // CHECK
: vpdpbsuds
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
148 // CHECK
: encoding
: [0xc4,0xe2,0x62,0x51,0x94,0xf4,0x00,0x00,0x00,0x10]
149 vpdpbsuds
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
151 // CHECK
: vpdpbsuds
291(%edi
,%eax
,4), %xmm3
, %xmm2
152 // CHECK
: encoding
: [0xc4,0xe2,0x62,0x51,0x94,0x87,0x23,0x01,0x00,0x00]
153 vpdpbsuds
291(%edi
,%eax
,4), %xmm3
, %xmm2
155 // CHECK
: vpdpbsuds
(%eax
), %xmm3
, %xmm2
156 // CHECK
: encoding
: [0xc4,0xe2,0x62,0x51,0x10]
157 vpdpbsuds
(%eax
), %xmm3
, %xmm2
159 // CHECK
: vpdpbsuds
-512(,%ebp
,2), %xmm3
, %xmm2
160 // CHECK
: encoding
: [0xc4,0xe2,0x62,0x51,0x14,0x6d,0x00,0xfe,0xff,0xff]
161 vpdpbsuds
-512(,%ebp
,2), %xmm3
, %xmm2
163 // CHECK
: vpdpbuud
%ymm4
, %ymm3
, %ymm2
164 // CHECK
: encoding
: [0xc4,0xe2,0x64,0x50,0xd4]
165 vpdpbuud
%ymm4
, %ymm3
, %ymm2
167 // CHECK
: vpdpbuud
%xmm4
, %xmm3
, %xmm2
168 // CHECK
: encoding
: [0xc4,0xe2,0x60,0x50,0xd4]
169 vpdpbuud
%xmm4
, %xmm3
, %xmm2
171 // CHECK
: vpdpbuud
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
172 // CHECK
: encoding
: [0xc4,0xe2,0x64,0x50,0x94,0xf4,0x00,0x00,0x00,0x10]
173 vpdpbuud
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
175 // CHECK
: vpdpbuud
291(%edi
,%eax
,4), %ymm3
, %ymm2
176 // CHECK
: encoding
: [0xc4,0xe2,0x64,0x50,0x94,0x87,0x23,0x01,0x00,0x00]
177 vpdpbuud
291(%edi
,%eax
,4), %ymm3
, %ymm2
179 // CHECK
: vpdpbuud
(%eax
), %ymm3
, %ymm2
180 // CHECK
: encoding
: [0xc4,0xe2,0x64,0x50,0x10]
181 vpdpbuud
(%eax
), %ymm3
, %ymm2
183 // CHECK
: vpdpbuud
-1024(,%ebp
,2), %ymm3
, %ymm2
184 // CHECK
: encoding
: [0xc4,0xe2,0x64,0x50,0x14,0x6d,0x00,0xfc,0xff,0xff]
185 vpdpbuud
-1024(,%ebp
,2), %ymm3
, %ymm2
187 // CHECK
: vpdpbuud
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
188 // CHECK
: encoding
: [0xc4,0xe2,0x60,0x50,0x94,0xf4,0x00,0x00,0x00,0x10]
189 vpdpbuud
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
191 // CHECK
: vpdpbuud
291(%edi
,%eax
,4), %xmm3
, %xmm2
192 // CHECK
: encoding
: [0xc4,0xe2,0x60,0x50,0x94,0x87,0x23,0x01,0x00,0x00]
193 vpdpbuud
291(%edi
,%eax
,4), %xmm3
, %xmm2
195 // CHECK
: vpdpbuud
(%eax
), %xmm3
, %xmm2
196 // CHECK
: encoding
: [0xc4,0xe2,0x60,0x50,0x10]
197 vpdpbuud
(%eax
), %xmm3
, %xmm2
199 // CHECK
: vpdpbuud
-512(,%ebp
,2), %xmm3
, %xmm2
200 // CHECK
: encoding
: [0xc4,0xe2,0x60,0x50,0x14,0x6d,0x00,0xfe,0xff,0xff]
201 vpdpbuud
-512(,%ebp
,2), %xmm3
, %xmm2
203 // CHECK
: vpdpbuuds
%ymm4
, %ymm3
, %ymm2
204 // CHECK
: encoding
: [0xc4,0xe2,0x64,0x51,0xd4]
205 vpdpbuuds
%ymm4
, %ymm3
, %ymm2
207 // CHECK
: vpdpbuuds
%xmm4
, %xmm3
, %xmm2
208 // CHECK
: encoding
: [0xc4,0xe2,0x60,0x51,0xd4]
209 vpdpbuuds
%xmm4
, %xmm3
, %xmm2
211 // CHECK
: vpdpbuuds
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
212 // CHECK
: encoding
: [0xc4,0xe2,0x64,0x51,0x94,0xf4,0x00,0x00,0x00,0x10]
213 vpdpbuuds
268435456(%esp
,%esi
,8), %ymm3
, %ymm2
215 // CHECK
: vpdpbuuds
291(%edi
,%eax
,4), %ymm3
, %ymm2
216 // CHECK
: encoding
: [0xc4,0xe2,0x64,0x51,0x94,0x87,0x23,0x01,0x00,0x00]
217 vpdpbuuds
291(%edi
,%eax
,4), %ymm3
, %ymm2
219 // CHECK
: vpdpbuuds
(%eax
), %ymm3
, %ymm2
220 // CHECK
: encoding
: [0xc4,0xe2,0x64,0x51,0x10]
221 vpdpbuuds
(%eax
), %ymm3
, %ymm2
223 // CHECK
: vpdpbuuds
-1024(,%ebp
,2), %ymm3
, %ymm2
224 // CHECK
: encoding
: [0xc4,0xe2,0x64,0x51,0x14,0x6d,0x00,0xfc,0xff,0xff]
225 vpdpbuuds
-1024(,%ebp
,2), %ymm3
, %ymm2
227 // CHECK
: vpdpbuuds
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
228 // CHECK
: encoding
: [0xc4,0xe2,0x60,0x51,0x94,0xf4,0x00,0x00,0x00,0x10]
229 vpdpbuuds
268435456(%esp
,%esi
,8), %xmm3
, %xmm2
231 // CHECK
: vpdpbuuds
291(%edi
,%eax
,4), %xmm3
, %xmm2
232 // CHECK
: encoding
: [0xc4,0xe2,0x60,0x51,0x94,0x87,0x23,0x01,0x00,0x00]
233 vpdpbuuds
291(%edi
,%eax
,4), %xmm3
, %xmm2
235 // CHECK
: vpdpbuuds
(%eax
), %xmm3
, %xmm2
236 // CHECK
: encoding
: [0xc4,0xe2,0x60,0x51,0x10]
237 vpdpbuuds
(%eax
), %xmm3
, %xmm2
239 // CHECK
: vpdpbuuds
-512(,%ebp
,2), %xmm3
, %xmm2
240 // CHECK
: encoding
: [0xc4,0xe2,0x60,0x51,0x14,0x6d,0x00,0xfe,0xff,0xff]
241 vpdpbuuds
-512(,%ebp
,2), %xmm3
, %xmm2