1// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx908 %s 2>&1 | FileCheck -check-prefix=GFX908 --implicit-check-not=error: %s
2// RUN: not llvm-mc -arch=amdgcn -mcpu=gfx900 %s 2>&1 | FileCheck -check-prefix=GFX900 --implicit-check-not=error: %s
3
4v_accvgpr_read_b32 v0, v0
5// GFX908: error: invalid operand for instruction
6// GFX900: error: instruction not supported on this GPU
7
8v_accvgpr_read_b32 a0, a0
9// GFX908: error: invalid operand for instruction
10// GFX900: error: instruction not supported on this GPU
11
12v_accvgpr_read_b32 v0, 1
13// GFX908: error: invalid operand for instruction
14// GFX900: error: instruction not supported on this GPU
15
16v_accvgpr_read_b32 v0, s0
17// GFX908: error: invalid operand for instruction
18// GFX900: error: instruction not supported on this GPU
19
20v_accvgpr_read_b32 v0, a0
21// GFX900: error: instruction not supported on this GPU
22
23v_accvgpr_write_b32 v0, v0
24// GFX908: error: invalid operand for instruction
25// GFX900: error: instruction not supported on this GPU
26
27v_accvgpr_write_b32 a0, a0
28// GFX908: error: invalid operand for instruction
29// GFX900: error: instruction not supported on this GPU
30
31v_accvgpr_write_b32 a0, s0
32// GFX908: error: invalid operand for instruction
33// GFX900: error: instruction not supported on this GPU
34
35v_accvgpr_write_b32 a0, 65
36// GFX908: error: invalid operand for instruction
37// GFX900: error: instruction not supported on this GPU
38
39v_accvgpr_write_b32 a0, v0
40// GFX900: error: instruction not supported on this GPU
41
42v_mfma_f32_32x32x1f32 v[0:31], v0, v1, a[1:32]
43// GFX908: error: invalid operand for instruction
44// GFX900: error: instruction not supported on this GPU
45
46v_mfma_f32_32x32x1f32 a[0:31], v0, v1, v[1:32]
47// GFX908: error: invalid operand for instruction
48// GFX900: error: instruction not supported on this GPU
49
50v_mfma_f32_32x32x1f32 a[0:31], s0, v1, a[1:32]
51// GFX908: error: invalid operand for instruction
52// GFX900: error: instruction not supported on this GPU
53
54v_mfma_f32_32x32x1f32 a[0:31], 1, v1, a[1:32]
55// GFX908: error: invalid operand for instruction
56// GFX900: error: instruction not supported on this GPU
57
58v_mfma_f32_32x32x1f32 a[0:31], v0, v1, 65
59// GFX908: error: invalid operand for instruction
60// GFX900: error: instruction not supported on this GPU
61
62v_mfma_f32_32x32x1f32 a[0:31], v0, v1, 0
63// GFX900: error: instruction not supported on this GPU
64// GFX908: error: inline constants are not allowed for this operand
65
66v_mfma_f32_32x32x1f32 a[0:31], v0, v1, -2.0
67// GFX908: error: inline constants are not allowed for this operand
68// GFX900: error: instruction not supported on this GPU
69
70v_mfma_f32_32x32x1f32 a[0:31], v0, v1, -2.0 cbsz:3 abid:2 blgp:7
71// GFX908: error: inline constants are not allowed for this operand
72// GFX900: error: instruction not supported on this GPU
73
74v_mfma_f32_32x32x1f32 a[0:31], v0, a1, -2.0
75// GFX908: error: inline constants are not allowed for this operand
76// GFX900: error: instruction not supported on this GPU
77
78v_mfma_f32_32x32x1f32 a[0:31], v0, a1, -2.0 cbsz:3 abid:2 blgp:7
79// GFX908: error: inline constants are not allowed for this operand
80// GFX900: error: instruction not supported on this GPU
81
82v_mfma_f32_32x32x1f32 a[0:31], a0, v1, -2.0
83// GFX908: error: inline constants are not allowed for this operand
84// GFX900: error: instruction not supported on this GPU
85
86v_mfma_f32_32x32x1f32 a[0:31], a0, v1, -2.0 cbsz:3 abid:2 blgp:7
87// GFX908: error: inline constants are not allowed for this operand
88// GFX900: error: instruction not supported on this GPU
89
90v_mfma_f32_32x32x1f32 a[0:31], a0, a1, -2.0
91// GFX908: error: inline constants are not allowed for this operand
92// GFX900: error: instruction not supported on this GPU
93
94v_mfma_f32_32x32x1f32 a[0:31], a0, a1, -2.0 cbsz:3 abid:2 blgp:7
95// GFX908: error: inline constants are not allowed for this operand
96// GFX900: error: instruction not supported on this GPU
97
98v_mfma_f32_16x16x1f32 a[0:15], v0, v1, -2.0
99// GFX908: error: inline constants are not allowed for this operand
100// GFX900: error: instruction not supported on this GPU
101
102v_mfma_f32_16x16x1f32 a[0:15], v0, v1, -2.0 cbsz:3 abid:2 blgp:7
103// GFX908: error: inline constants are not allowed for this operand
104// GFX900: error: instruction not supported on this GPU
105
106v_mfma_f32_16x16x1f32 a[0:15], v0, a1, -2.0
107// GFX908: error: inline constants are not allowed for this operand
108// GFX900: error: instruction not supported on this GPU
109
110v_mfma_f32_16x16x1f32 a[0:15], v0, a1, -2.0 cbsz:3 abid:2 blgp:7
111// GFX908: error: inline constants are not allowed for this operand
112// GFX900: error: instruction not supported on this GPU
113
114v_mfma_f32_16x16x1f32 a[0:15], a0, v1, -2.0
115// GFX908: error: inline constants are not allowed for this operand
116// GFX900: error: instruction not supported on this GPU
117
118v_mfma_f32_16x16x1f32 a[0:15], a0, v1, -2.0 cbsz:3 abid:2 blgp:7
119// GFX908: error: inline constants are not allowed for this operand
120// GFX900: error: instruction not supported on this GPU
121
122v_mfma_f32_16x16x1f32 a[0:15], a0, a1, -2.0
123// GFX908: error: inline constants are not allowed for this operand
124// GFX900: error: instruction not supported on this GPU
125
126v_mfma_f32_16x16x1f32 a[0:15], a0, a1, -2.0 cbsz:3 abid:2 blgp:7
127// GFX908: error: inline constants are not allowed for this operand
128// GFX900: error: instruction not supported on this GPU
129
130v_mfma_f32_4x4x1f32 a[0:3], v0, v1, -2.0
131// GFX908: error: inline constants are not allowed for this operand
132// GFX900: error: instruction not supported on this GPU
133
134v_mfma_f32_4x4x1f32 a[0:3], v0, v1, -2.0 cbsz:3 abid:2 blgp:7
135// GFX908: error: inline constants are not allowed for this operand
136// GFX900: error: instruction not supported on this GPU
137
138v_mfma_f32_4x4x1f32 a[0:3], v0, a1, -2.0
139// GFX908: error: inline constants are not allowed for this operand
140// GFX900: error: instruction not supported on this GPU
141
142v_mfma_f32_4x4x1f32 a[0:3], v0, a1, -2.0 cbsz:3 abid:2 blgp:7
143// GFX908: error: inline constants are not allowed for this operand
144// GFX900: error: instruction not supported on this GPU
145
146v_mfma_f32_4x4x1f32 a[0:3], a0, v1, -2.0
147// GFX908: error: inline constants are not allowed for this operand
148// GFX900: error: instruction not supported on this GPU
149
150v_mfma_f32_4x4x1f32 a[0:3], a0, v1, -2.0 cbsz:3 abid:2 blgp:7
151// GFX908: error: inline constants are not allowed for this operand
152// GFX900: error: instruction not supported on this GPU
153
154v_mfma_f32_4x4x1f32 a[0:3], a0, a1, -2.0
155// GFX908: error: inline constants are not allowed for this operand
156// GFX900: error: instruction not supported on this GPU
157
158v_mfma_f32_4x4x1f32 a[0:3], a0, a1, -2.0 cbsz:3 abid:2 blgp:7
159// GFX908: error: inline constants are not allowed for this operand
160// GFX900: error: instruction not supported on this GPU
161
162v_mfma_f32_32x32x2f32 a[0:15], v0, v1, -2.0
163// GFX908: error: inline constants are not allowed for this operand
164// GFX900: error: instruction not supported on this GPU
165
166v_mfma_f32_32x32x2f32 a[0:15], v0, v1, -2.0 cbsz:3 abid:2 blgp:7
167// GFX908: error: inline constants are not allowed for this operand
168// GFX900: error: instruction not supported on this GPU
169
170v_mfma_f32_32x32x2f32 a[0:15], v0, a1, -2.0
171// GFX908: error: inline constants are not allowed for this operand
172// GFX900: error: instruction not supported on this GPU
173
174v_mfma_f32_32x32x2f32 a[0:15], v0, a1, -2.0 cbsz:3 abid:2 blgp:7
175// GFX908: error: inline constants are not allowed for this operand
176// GFX900: error: instruction not supported on this GPU
177
178v_mfma_f32_32x32x2f32 a[0:15], a0, v1, -2.0
179// GFX908: error: inline constants are not allowed for this operand
180// GFX900: error: instruction not supported on this GPU
181
182v_mfma_f32_32x32x2f32 a[0:15], a0, v1, -2.0 cbsz:3 abid:2 blgp:7
183// GFX908: error: inline constants are not allowed for this operand
184// GFX900: error: instruction not supported on this GPU
185
186v_mfma_f32_32x32x2f32 a[0:15], a0, a1, -2.0
187// GFX908: error: inline constants are not allowed for this operand
188// GFX900: error: instruction not supported on this GPU
189
190v_mfma_f32_32x32x2f32 a[0:15], a0, a1, -2.0 cbsz:3 abid:2 blgp:7
191// GFX908: error: inline constants are not allowed for this operand
192// GFX900: error: instruction not supported on this GPU
193
194v_mfma_f32_16x16x4f32 a[0:3], v0, v1, -2.0
195// GFX908: error: inline constants are not allowed for this operand
196// GFX900: error: instruction not supported on this GPU
197
198v_mfma_f32_16x16x4f32 a[0:3], v0, v1, -2.0 cbsz:3 abid:2 blgp:7
199// GFX908: error: inline constants are not allowed for this operand
200// GFX900: error: instruction not supported on this GPU
201
202v_mfma_f32_16x16x4f32 a[0:3], v0, a1, -2.0
203// GFX908: error: inline constants are not allowed for this operand
204// GFX900: error: instruction not supported on this GPU
205
206v_mfma_f32_16x16x4f32 a[0:3], v0, a1, -2.0 cbsz:3 abid:2 blgp:7
207// GFX908: error: inline constants are not allowed for this operand
208// GFX900: error: instruction not supported on this GPU
209
210v_mfma_f32_16x16x4f32 a[0:3], a0, v1, -2.0
211// GFX908: error: inline constants are not allowed for this operand
212// GFX900: error: instruction not supported on this GPU
213
214v_mfma_f32_16x16x4f32 a[0:3], a0, v1, -2.0 cbsz:3 abid:2 blgp:7
215// GFX908: error: inline constants are not allowed for this operand
216// GFX900: error: instruction not supported on this GPU
217
218v_mfma_f32_16x16x4f32 a[0:3], a0, a1, -2.0
219// GFX908: error: inline constants are not allowed for this operand
220// GFX900: error: instruction not supported on this GPU
221
222v_mfma_f32_16x16x4f32 a[0:3], a0, a1, -2.0 cbsz:3 abid:2 blgp:7
223// GFX908: error: inline constants are not allowed for this operand
224// GFX900: error: instruction not supported on this GPU
225
226v_mfma_f32_32x32x4f16 a[0:31], v[0:1], v[1:2], -2.0
227// GFX908: error: inline constants are not allowed for this operand
228// GFX900: error: instruction not supported on this GPU
229
230v_mfma_f32_32x32x4f16 a[0:31], v[0:1], v[1:2], -2.0 cbsz:3 abid:2 blgp:7
231// GFX908: error: inline constants are not allowed for this operand
232// GFX900: error: instruction not supported on this GPU
233
234v_mfma_f32_32x32x4f16 a[0:31], v[0:1], a[1:2], -2.0
235// GFX908: error: inline constants are not allowed for this operand
236// GFX900: error: instruction not supported on this GPU
237
238v_mfma_f32_32x32x4f16 a[0:31], v[0:1], a[1:2], -2.0 cbsz:3 abid:2 blgp:7
239// GFX908: error: inline constants are not allowed for this operand
240// GFX900: error: instruction not supported on this GPU
241
242v_mfma_f32_32x32x4f16 a[0:31], a[0:1], v[1:2], -2.0
243// GFX908: error: inline constants are not allowed for this operand
244// GFX900: error: instruction not supported on this GPU
245
246v_mfma_f32_32x32x4f16 a[0:31], a[0:1], v[1:2], -2.0 cbsz:3 abid:2 blgp:7
247// GFX908: error: inline constants are not allowed for this operand
248// GFX900: error: instruction not supported on this GPU
249
250v_mfma_f32_32x32x4f16 a[0:31], a[0:1], a[1:2], -2.0
251// GFX908: error: inline constants are not allowed for this operand
252// GFX900: error: instruction not supported on this GPU
253
254v_mfma_f32_32x32x4f16 a[0:31], a[0:1], a[1:2], -2.0 cbsz:3 abid:2 blgp:7
255// GFX908: error: inline constants are not allowed for this operand
256// GFX900: error: instruction not supported on this GPU
257
258v_mfma_f32_16x16x4f16 a[0:15], v[0:1], v[1:2], -2.0
259// GFX908: error: inline constants are not allowed for this operand
260// GFX900: error: instruction not supported on this GPU
261
262v_mfma_f32_16x16x4f16 a[0:15], v[0:1], v[1:2], -2.0 cbsz:3 abid:2 blgp:7
263// GFX908: error: inline constants are not allowed for this operand
264// GFX900: error: instruction not supported on this GPU
265
266v_mfma_f32_16x16x4f16 a[0:15], v[0:1], a[1:2], -2.0
267// GFX908: error: inline constants are not allowed for this operand
268// GFX900: error: instruction not supported on this GPU
269
270v_mfma_f32_16x16x4f16 a[0:15], v[0:1], a[1:2], -2.0 cbsz:3 abid:2 blgp:7
271// GFX908: error: inline constants are not allowed for this operand
272// GFX900: error: instruction not supported on this GPU
273
274v_mfma_f32_16x16x4f16 a[0:15], a[0:1], v[1:2], -2.0
275// GFX908: error: inline constants are not allowed for this operand
276// GFX900: error: instruction not supported on this GPU
277
278v_mfma_f32_16x16x4f16 a[0:15], a[0:1], v[1:2], -2.0 cbsz:3 abid:2 blgp:7
279// GFX908: error: inline constants are not allowed for this operand
280// GFX900: error: instruction not supported on this GPU
281
282v_mfma_f32_16x16x4f16 a[0:15], a[0:1], a[1:2], -2.0
283// GFX908: error: inline constants are not allowed for this operand
284// GFX900: error: instruction not supported on this GPU
285
286v_mfma_f32_16x16x4f16 a[0:15], a[0:1], a[1:2], -2.0 cbsz:3 abid:2 blgp:7
287// GFX908: error: inline constants are not allowed for this operand
288// GFX900: error: instruction not supported on this GPU
289
290v_mfma_f32_4x4x4f16 a[0:3], v[0:1], v[1:2], -2.0
291// GFX908: error: inline constants are not allowed for this operand
292// GFX900: error: instruction not supported on this GPU
293
294v_mfma_f32_4x4x4f16 a[0:3], v[0:1], v[1:2], -2.0 cbsz:3 abid:2 blgp:7
295// GFX908: error: inline constants are not allowed for this operand
296// GFX900: error: instruction not supported on this GPU
297
298v_mfma_f32_4x4x4f16 a[0:3], v[0:1], a[1:2], -2.0
299// GFX908: error: inline constants are not allowed for this operand
300// GFX900: error: instruction not supported on this GPU
301
302v_mfma_f32_4x4x4f16 a[0:3], v[0:1], a[1:2], -2.0 cbsz:3 abid:2 blgp:7
303// GFX908: error: inline constants are not allowed for this operand
304// GFX900: error: instruction not supported on this GPU
305
306v_mfma_f32_4x4x4f16 a[0:3], a[0:1], v[1:2], -2.0
307// GFX908: error: inline constants are not allowed for this operand
308// GFX900: error: instruction not supported on this GPU
309
310v_mfma_f32_4x4x4f16 a[0:3], a[0:1], v[1:2], -2.0 cbsz:3 abid:2 blgp:7
311// GFX908: error: inline constants are not allowed for this operand
312// GFX900: error: instruction not supported on this GPU
313
314v_mfma_f32_4x4x4f16 a[0:3], a[0:1], a[1:2], -2.0
315// GFX908: error: inline constants are not allowed for this operand
316// GFX900: error: instruction not supported on this GPU
317
318v_mfma_f32_4x4x4f16 a[0:3], a[0:1], a[1:2], -2.0 cbsz:3 abid:2 blgp:7
319// GFX908: error: inline constants are not allowed for this operand
320// GFX900: error: instruction not supported on this GPU
321
322v_mfma_f32_32x32x8f16 a[0:15], v[0:1], v[1:2], -2.0
323// GFX908: error: inline constants are not allowed for this operand
324// GFX900: error: instruction not supported on this GPU
325
326v_mfma_f32_32x32x8f16 a[0:15], v[0:1], v[1:2], -2.0 cbsz:3 abid:2 blgp:7
327// GFX908: error: inline constants are not allowed for this operand
328// GFX900: error: instruction not supported on this GPU
329
330v_mfma_f32_32x32x8f16 a[0:15], v[0:1], a[1:2], -2.0
331// GFX908: error: inline constants are not allowed for this operand
332// GFX900: error: instruction not supported on this GPU
333
334v_mfma_f32_32x32x8f16 a[0:15], v[0:1], a[1:2], -2.0 cbsz:3 abid:2 blgp:7
335// GFX908: error: inline constants are not allowed for this operand
336// GFX900: error: instruction not supported on this GPU
337
338v_mfma_f32_32x32x8f16 a[0:15], a[0:1], v[1:2], -2.0
339// GFX908: error: inline constants are not allowed for this operand
340// GFX900: error: instruction not supported on this GPU
341
342v_mfma_f32_32x32x8f16 a[0:15], a[0:1], v[1:2], -2.0 cbsz:3 abid:2 blgp:7
343// GFX908: error: inline constants are not allowed for this operand
344// GFX900: error: instruction not supported on this GPU
345
346v_mfma_f32_32x32x8f16 a[0:15], a[0:1], a[1:2], -2.0
347// GFX908: error: inline constants are not allowed for this operand
348// GFX900: error: instruction not supported on this GPU
349
350v_mfma_f32_32x32x8f16 a[0:15], a[0:1], a[1:2], -2.0 cbsz:3 abid:2 blgp:7
351// GFX908: error: inline constants are not allowed for this operand
352// GFX900: error: instruction not supported on this GPU
353
354v_mfma_f32_16x16x16f16 a[0:3], v[0:1], v[1:2], -2.0
355// GFX908: error: inline constants are not allowed for this operand
356// GFX900: error: instruction not supported on this GPU
357
358v_mfma_f32_16x16x16f16 a[0:3], v[0:1], v[1:2], -2.0 cbsz:3 abid:2 blgp:7
359// GFX908: error: inline constants are not allowed for this operand
360// GFX900: error: instruction not supported on this GPU
361
362v_mfma_f32_16x16x16f16 a[0:3], v[0:1], a[1:2], -2.0
363// GFX908: error: inline constants are not allowed for this operand
364// GFX900: error: instruction not supported on this GPU
365
366v_mfma_f32_16x16x16f16 a[0:3], v[0:1], a[1:2], -2.0 cbsz:3 abid:2 blgp:7
367// GFX908: error: inline constants are not allowed for this operand
368// GFX900: error: instruction not supported on this GPU
369
370v_mfma_f32_16x16x16f16 a[0:3], a[0:1], v[1:2], -2.0
371// GFX908: error: inline constants are not allowed for this operand
372// GFX900: error: instruction not supported on this GPU
373
374v_mfma_f32_16x16x16f16 a[0:3], a[0:1], v[1:2], -2.0 cbsz:3 abid:2 blgp:7
375// GFX908: error: inline constants are not allowed for this operand
376// GFX900: error: instruction not supported on this GPU
377
378v_mfma_f32_16x16x16f16 a[0:3], a[0:1], a[1:2], -2.0
379// GFX908: error: inline constants are not allowed for this operand
380// GFX900: error: instruction not supported on this GPU
381
382v_mfma_f32_16x16x16f16 a[0:3], a[0:1], a[1:2], -2.0 cbsz:3 abid:2 blgp:7
383// GFX908: error: inline constants are not allowed for this operand
384// GFX900: error: instruction not supported on this GPU
385
386v_mfma_i32_32x32x4i8 a[0:31], v0, v1, 2
387// GFX908: error: inline constants are not allowed for this operand
388// GFX900: error: instruction not supported on this GPU
389
390v_mfma_i32_32x32x4i8 a[0:31], v0, v1, 2 cbsz:3 abid:2 blgp:7
391// GFX908: error: inline constants are not allowed for this operand
392// GFX900: error: instruction not supported on this GPU
393
394v_mfma_i32_32x32x4i8 a[0:31], v0, a1, 2
395// GFX908: error: inline constants are not allowed for this operand
396// GFX900: error: instruction not supported on this GPU
397
398v_mfma_i32_32x32x4i8 a[0:31], v0, a1, 2 cbsz:3 abid:2 blgp:7
399// GFX908: error: inline constants are not allowed for this operand
400// GFX900: error: instruction not supported on this GPU
401
402v_mfma_i32_32x32x4i8 a[0:31], a0, v1, 2
403// GFX908: error: inline constants are not allowed for this operand
404// GFX900: error: instruction not supported on this GPU
405
406v_mfma_i32_32x32x4i8 a[0:31], a0, v1, 2 cbsz:3 abid:2 blgp:7
407// GFX908: error: inline constants are not allowed for this operand
408// GFX900: error: instruction not supported on this GPU
409
410v_mfma_i32_32x32x4i8 a[0:31], a0, a1, 2
411// GFX908: error: inline constants are not allowed for this operand
412// GFX900: error: instruction not supported on this GPU
413
414v_mfma_i32_32x32x4i8 a[0:31], a0, a1, 2 cbsz:3 abid:2 blgp:7
415// GFX908: error: inline constants are not allowed for this operand
416// GFX900: error: instruction not supported on this GPU
417
418v_mfma_i32_16x16x4i8 a[0:15], v0, v1, 2
419// GFX908: error: inline constants are not allowed for this operand
420// GFX900: error: instruction not supported on this GPU
421
422v_mfma_i32_16x16x4i8 a[0:15], v0, v1, 2 cbsz:3 abid:2 blgp:7
423// GFX908: error: inline constants are not allowed for this operand
424// GFX900: error: instruction not supported on this GPU
425
426v_mfma_i32_16x16x4i8 a[0:15], v0, a1, 2
427// GFX908: error: inline constants are not allowed for this operand
428// GFX900: error: instruction not supported on this GPU
429
430v_mfma_i32_16x16x4i8 a[0:15], v0, a1, 2 cbsz:3 abid:2 blgp:7
431// GFX908: error: inline constants are not allowed for this operand
432// GFX900: error: instruction not supported on this GPU
433
434v_mfma_i32_16x16x4i8 a[0:15], a0, v1, 2
435// GFX908: error: inline constants are not allowed for this operand
436// GFX900: error: instruction not supported on this GPU
437
438v_mfma_i32_16x16x4i8 a[0:15], a0, v1, 2 cbsz:3 abid:2 blgp:7
439// GFX908: error: inline constants are not allowed for this operand
440// GFX900: error: instruction not supported on this GPU
441
442v_mfma_i32_16x16x4i8 a[0:15], a0, a1, 2
443// GFX908: error: inline constants are not allowed for this operand
444// GFX900: error: instruction not supported on this GPU
445
446v_mfma_i32_16x16x4i8 a[0:15], a0, a1, 2 cbsz:3 abid:2 blgp:7
447// GFX908: error: inline constants are not allowed for this operand
448// GFX900: error: instruction not supported on this GPU
449
450v_mfma_i32_4x4x4i8 a[0:3], v0, v1, 2
451// GFX908: error: inline constants are not allowed for this operand
452// GFX900: error: instruction not supported on this GPU
453
454v_mfma_i32_4x4x4i8 a[0:3], v0, v1, 2 cbsz:3 abid:2 blgp:7
455// GFX908: error: inline constants are not allowed for this operand
456// GFX900: error: instruction not supported on this GPU
457
458v_mfma_i32_4x4x4i8 a[0:3], v0, a1, 2
459// GFX908: error: inline constants are not allowed for this operand
460// GFX900: error: instruction not supported on this GPU
461
462v_mfma_i32_4x4x4i8 a[0:3], v0, a1, 2 cbsz:3 abid:2 blgp:7
463// GFX908: error: inline constants are not allowed for this operand
464// GFX900: error: instruction not supported on this GPU
465
466v_mfma_i32_4x4x4i8 a[0:3], a0, v1, 2
467// GFX908: error: inline constants are not allowed for this operand
468// GFX900: error: instruction not supported on this GPU
469
470v_mfma_i32_4x4x4i8 a[0:3], a0, v1, 2 cbsz:3 abid:2 blgp:7
471// GFX908: error: inline constants are not allowed for this operand
472// GFX900: error: instruction not supported on this GPU
473
474v_mfma_i32_4x4x4i8 a[0:3], a0, a1, 2
475// GFX908: error: inline constants are not allowed for this operand
476// GFX900: error: instruction not supported on this GPU
477
478v_mfma_i32_4x4x4i8 a[0:3], a0, a1, 2 cbsz:3 abid:2 blgp:7
479// GFX908: error: inline constants are not allowed for this operand
480// GFX900: error: instruction not supported on this GPU
481
482v_mfma_i32_32x32x8i8 a[0:15], v0, v1, 2
483// GFX908: error: inline constants are not allowed for this operand
484// GFX900: error: instruction not supported on this GPU
485
486v_mfma_i32_32x32x8i8 a[0:15], v0, v1, 2 cbsz:3 abid:2 blgp:7
487// GFX908: error: inline constants are not allowed for this operand
488// GFX900: error: instruction not supported on this GPU
489
490v_mfma_i32_32x32x8i8 a[0:15], v0, a1, 2
491// GFX908: error: inline constants are not allowed for this operand
492// GFX900: error: instruction not supported on this GPU
493
494v_mfma_i32_32x32x8i8 a[0:15], v0, a1, 2 cbsz:3 abid:2 blgp:7
495// GFX908: error: inline constants are not allowed for this operand
496// GFX900: error: instruction not supported on this GPU
497
498v_mfma_i32_32x32x8i8 a[0:15], a0, v1, 2
499// GFX908: error: inline constants are not allowed for this operand
500// GFX900: error: instruction not supported on this GPU
501
502v_mfma_i32_32x32x8i8 a[0:15], a0, v1, 2 cbsz:3 abid:2 blgp:7
503// GFX908: error: inline constants are not allowed for this operand
504// GFX900: error: instruction not supported on this GPU
505
506v_mfma_i32_32x32x8i8 a[0:15], a0, a1, 2
507// GFX908: error: inline constants are not allowed for this operand
508// GFX900: error: instruction not supported on this GPU
509
510v_mfma_i32_32x32x8i8 a[0:15], a0, a1, 2 cbsz:3 abid:2 blgp:7
511// GFX908: error: inline constants are not allowed for this operand
512// GFX900: error: instruction not supported on this GPU
513
514v_mfma_i32_16x16x16i8 a[0:3], v0, v1, 2
515// GFX908: error: inline constants are not allowed for this operand
516// GFX900: error: instruction not supported on this GPU
517
518v_mfma_i32_16x16x16i8 a[0:3], v0, v1, 2 cbsz:3 abid:2 blgp:7
519// GFX908: error: inline constants are not allowed for this operand
520// GFX900: error: instruction not supported on this GPU
521
522v_mfma_i32_16x16x16i8 a[0:3], v0, a1, 2
523// GFX908: error: inline constants are not allowed for this operand
524// GFX900: error: instruction not supported on this GPU
525
526v_mfma_i32_16x16x16i8 a[0:3], v0, a1, 2 cbsz:3 abid:2 blgp:7
527// GFX908: error: inline constants are not allowed for this operand
528// GFX900: error: instruction not supported on this GPU
529
530v_mfma_i32_16x16x16i8 a[0:3], a0, v1, 2
531// GFX908: error: inline constants are not allowed for this operand
532// GFX900: error: instruction not supported on this GPU
533
534v_mfma_i32_16x16x16i8 a[0:3], a0, v1, 2 cbsz:3 abid:2 blgp:7
535// GFX908: error: inline constants are not allowed for this operand
536// GFX900: error: instruction not supported on this GPU
537
538v_mfma_i32_16x16x16i8 a[0:3], a0, a1, 2
539// GFX908: error: inline constants are not allowed for this operand
540// GFX900: error: instruction not supported on this GPU
541
542v_mfma_f32_32x32x2bf16 a[0:31], v0, v1, -2.0
543// GFX908: error: inline constants are not allowed for this operand
544// GFX900: error: instruction not supported on this GPU
545
546v_mfma_f32_32x32x2bf16 a[0:31], v0, v1, -2.0 cbsz:3 abid:2 blgp:7
547// GFX908: error: inline constants are not allowed for this operand
548// GFX900: error: instruction not supported on this GPU
549
550v_mfma_f32_32x32x2bf16 a[0:31], v0, a1, -2.0
551// GFX908: error: inline constants are not allowed for this operand
552// GFX900: error: instruction not supported on this GPU
553
554v_mfma_f32_32x32x2bf16 a[0:31], v0, a1, -2.0 cbsz:3 abid:2 blgp:7
555// GFX908: error: inline constants are not allowed for this operand
556// GFX900: error: instruction not supported on this GPU
557
558v_mfma_f32_32x32x2bf16 a[0:31], a0, v1, -2.0
559// GFX908: error: inline constants are not allowed for this operand
560// GFX900: error: instruction not supported on this GPU
561
562v_mfma_f32_32x32x2bf16 a[0:31], a0, v1, -2.0 cbsz:3 abid:2 blgp:7
563// GFX908: error: inline constants are not allowed for this operand
564// GFX900: error: instruction not supported on this GPU
565
566v_mfma_f32_32x32x2bf16 a[0:31], a0, a1, -2.0
567// GFX908: error: inline constants are not allowed for this operand
568// GFX900: error: instruction not supported on this GPU
569
570v_mfma_f32_32x32x2bf16 a[0:31], a0, a1, -2.0 cbsz:3 abid:2 blgp:7
571// GFX908: error: inline constants are not allowed for this operand
572// GFX900: error: instruction not supported on this GPU
573
574v_mfma_f32_16x16x2bf16 a[0:15], v0, v1, -2.0
575// GFX908: error: inline constants are not allowed for this operand
576// GFX900: error: instruction not supported on this GPU
577
578v_mfma_f32_16x16x2bf16 a[0:15], v0, v1, -2.0 cbsz:3 abid:2 blgp:7
579// GFX908: error: inline constants are not allowed for this operand
580// GFX900: error: instruction not supported on this GPU
581
582v_mfma_f32_16x16x2bf16 a[0:15], v0, a1, -2.0
583// GFX908: error: inline constants are not allowed for this operand
584// GFX900: error: instruction not supported on this GPU
585
586v_mfma_f32_16x16x2bf16 a[0:15], v0, a1, -2.0 cbsz:3 abid:2 blgp:7
587// GFX908: error: inline constants are not allowed for this operand
588// GFX900: error: instruction not supported on this GPU
589
590v_mfma_f32_16x16x2bf16 a[0:15], a0, v1, -2.0
591// GFX908: error: inline constants are not allowed for this operand
592// GFX900: error: instruction not supported on this GPU
593
594v_mfma_f32_16x16x2bf16 a[0:15], a0, v1, -2.0 cbsz:3 abid:2 blgp:7
595// GFX908: error: inline constants are not allowed for this operand
596// GFX900: error: instruction not supported on this GPU
597
598v_mfma_f32_16x16x2bf16 a[0:15], a0, a1, -2.0
599// GFX908: error: inline constants are not allowed for this operand
600// GFX900: error: instruction not supported on this GPU
601
602v_mfma_f32_16x16x2bf16 a[0:15], a0, a1, -2.0 cbsz:3 abid:2 blgp:7
603// GFX908: error: inline constants are not allowed for this operand
604// GFX900: error: instruction not supported on this GPU
605
606v_mfma_f32_4x4x2bf16 a[0:3], v0, v1, -2.0
607// GFX908: error: inline constants are not allowed for this operand
608// GFX900: error: instruction not supported on this GPU
609
610v_mfma_f32_4x4x2bf16 a[0:3], v0, v1, -2.0 cbsz:3 abid:2 blgp:7
611// GFX908: error: inline constants are not allowed for this operand
612// GFX900: error: instruction not supported on this GPU
613
614v_mfma_f32_4x4x2bf16 a[0:3], v0, a1, -2.0
615// GFX908: error: inline constants are not allowed for this operand
616// GFX900: error: instruction not supported on this GPU
617
618v_mfma_f32_4x4x2bf16 a[0:3], v0, a1, -2.0 cbsz:3 abid:2 blgp:7
619// GFX908: error: inline constants are not allowed for this operand
620// GFX900: error: instruction not supported on this GPU
621
622v_mfma_f32_4x4x2bf16 a[0:3], a0, v1, -2.0
623// GFX908: error: inline constants are not allowed for this operand
624// GFX900: error: instruction not supported on this GPU
625
626v_mfma_f32_4x4x2bf16 a[0:3], a0, v1, -2.0 cbsz:3 abid:2 blgp:7
627// GFX908: error: inline constants are not allowed for this operand
628// GFX900: error: instruction not supported on this GPU
629
630v_mfma_f32_4x4x2bf16 a[0:3], a0, a1, -2.0
631// GFX908: error: inline constants are not allowed for this operand
632// GFX900: error: instruction not supported on this GPU
633
634v_mfma_f32_4x4x2bf16 a[0:3], a0, a1, -2.0 cbsz:3 abid:2 blgp:7
635// GFX908: error: inline constants are not allowed for this operand
636// GFX900: error: instruction not supported on this GPU
637
638v_mfma_f32_32x32x4bf16 a[0:15], v0, v1, -2.0
639// GFX908: error: inline constants are not allowed for this operand
640// GFX900: error: instruction not supported on this GPU
641
642v_mfma_f32_32x32x4bf16 a[0:15], v0, v1, -2.0 cbsz:3 abid:2 blgp:7
643// GFX908: error: inline constants are not allowed for this operand
644// GFX900: error: instruction not supported on this GPU
645
646v_mfma_f32_32x32x4bf16 a[0:15], v0, a1, -2.0
647// GFX908: error: inline constants are not allowed for this operand
648// GFX900: error: instruction not supported on this GPU
649
650v_mfma_f32_32x32x4bf16 a[0:15], v0, a1, -2.0 cbsz:3 abid:2 blgp:7
651// GFX908: error: inline constants are not allowed for this operand
652// GFX900: error: instruction not supported on this GPU
653
654v_mfma_f32_32x32x4bf16 a[0:15], a0, v1, -2.0
655// GFX908: error: inline constants are not allowed for this operand
656// GFX900: error: instruction not supported on this GPU
657
658v_mfma_f32_32x32x4bf16 a[0:15], a0, v1, -2.0 cbsz:3 abid:2 blgp:7
659// GFX908: error: inline constants are not allowed for this operand
660// GFX900: error: instruction not supported on this GPU
661
662v_mfma_f32_32x32x4bf16 a[0:15], a0, a1, -2.0
663// GFX908: error: inline constants are not allowed for this operand
664// GFX900: error: instruction not supported on this GPU
665
666v_mfma_f32_32x32x4bf16 a[0:15], a0, a1, -2.0 cbsz:3 abid:2 blgp:7
667// GFX908: error: inline constants are not allowed for this operand
668// GFX900: error: instruction not supported on this GPU
669
670v_mfma_f32_16x16x8bf16 a[0:3], v0, v1, -2.0
671// GFX908: error: inline constants are not allowed for this operand
672// GFX900: error: instruction not supported on this GPU
673
674v_mfma_f32_16x16x8bf16 a[0:3], v0, v1, -2.0 cbsz:3 abid:2 blgp:7
675// GFX908: error: inline constants are not allowed for this operand
676// GFX900: error: instruction not supported on this GPU
677
678v_mfma_f32_16x16x8bf16 a[0:3], v0, a1, -2.0
679// GFX908: error: inline constants are not allowed for this operand
680// GFX900: error: instruction not supported on this GPU
681
682v_mfma_f32_16x16x8bf16 a[0:3], v0, a1, -2.0 cbsz:3 abid:2 blgp:7
683// GFX908: error: inline constants are not allowed for this operand
684// GFX900: error: instruction not supported on this GPU
685
686v_mfma_f32_16x16x8bf16 a[0:3], a0, v1, -2.0
687// GFX908: error: inline constants are not allowed for this operand
688// GFX900: error: instruction not supported on this GPU
689
690v_mfma_f32_16x16x8bf16 a[0:3], a0, v1, -2.0 cbsz:3 abid:2 blgp:7
691// GFX908: error: inline constants are not allowed for this operand
692// GFX900: error: instruction not supported on this GPU
693
694v_mfma_f32_16x16x8bf16 a[0:3], a0, a1, -2.0
695// GFX908: error: inline constants are not allowed for this operand
696// GFX900: error: instruction not supported on this GPU
697
698v_mfma_f32_16x16x8bf16 a[0:3], a0, a1, -2.0 cbsz:3 abid:2 blgp:7
699// GFX908: error: inline constants are not allowed for this operand
700// GFX900: error: instruction not supported on this GPU
701