• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// RUN: llvm-mc -arch=amdgcn -mcpu=fiji -show-encoding %s | FileCheck -check-prefix=VI %s
2// RUN: not llvm-mc -arch=amdgcn -mcpu=tahiti %s 2>&1 | FileCheck -check-prefix=NOSICI --implicit-check-not=error: %s
3// RUN: not llvm-mc -arch=amdgcn -mcpu=hawaii %s 2>&1 | FileCheck -check-prefix=NOSICI --implicit-check-not=error: %s
4
5v_cmp_class_f16 vcc, v2, v4
6// VI: v_cmp_class_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x28,0x7c]
7// NOSICI: error: instruction not supported on this GPU
8
9v_cmpx_class_f16 vcc, v2, v4
10// VI: v_cmpx_class_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x2a,0x7c]
11// NOSICI: error: instruction not supported on this GPU
12
13v_cmp_f_f16 vcc, v2, v4
14// VI: v_cmp_f_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x40,0x7c]
15// NOSICI: error: instruction not supported on this GPU
16
17v_cmp_lt_f16 vcc, v2, v4
18// VI: v_cmp_lt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x42,0x7c]
19// NOSICI: error: instruction not supported on this GPU
20
21v_cmp_eq_f16 vcc, v2, v4
22// VI: v_cmp_eq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x44,0x7c]
23// NOSICI: error: instruction not supported on this GPU
24
25v_cmp_le_f16 vcc, v2, v4
26// VI: v_cmp_le_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x46,0x7c]
27// NOSICI: error: instruction not supported on this GPU
28
29v_cmp_gt_f16 vcc, v2, v4
30// VI: v_cmp_gt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x48,0x7c]
31// NOSICI: error: instruction not supported on this GPU
32
33v_cmp_lg_f16 vcc, v2, v4
34// VI: v_cmp_lg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4a,0x7c]
35// NOSICI: error: instruction not supported on this GPU
36
37v_cmp_ge_f16 vcc, v2, v4
38// VI: v_cmp_ge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4c,0x7c]
39// NOSICI: error: instruction not supported on this GPU
40
41v_cmp_o_f16 vcc, v2, v4
42// VI: v_cmp_o_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4e,0x7c]
43// NOSICI: error: instruction not supported on this GPU
44
45v_cmp_u_f16 vcc, v2, v4
46// VI: v_cmp_u_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x50,0x7c]
47// NOSICI: error: instruction not supported on this GPU
48
49v_cmp_nge_f16 vcc, v2, v4
50// VI: v_cmp_nge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x52,0x7c]
51// NOSICI: error: instruction not supported on this GPU
52
53v_cmp_nlg_f16 vcc, v2, v4
54// VI: v_cmp_nlg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x54,0x7c]
55// NOSICI: error: instruction not supported on this GPU
56
57v_cmp_ngt_f16 vcc, v2, v4
58// VI: v_cmp_ngt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x56,0x7c]
59// NOSICI: error: instruction not supported on this GPU
60
61v_cmp_nle_f16 vcc, v2, v4
62// VI: v_cmp_nle_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x58,0x7c]
63// NOSICI: error: instruction not supported on this GPU
64
65v_cmp_neq_f16 vcc, v2, v4
66// VI: v_cmp_neq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5a,0x7c]
67// NOSICI: error: instruction not supported on this GPU
68
69v_cmp_nlt_f16 vcc, v2, v4
70// VI: v_cmp_nlt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5c,0x7c]
71// NOSICI: error: instruction not supported on this GPU
72
73v_cmp_tru_f16 vcc, v2, v4
74// VI: v_cmp_tru_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5e,0x7c]
75// NOSICI: error: instruction not supported on this GPU
76
77v_cmpx_f_f16 vcc, v2, v4
78// VI: v_cmpx_f_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x60,0x7c]
79// NOSICI: error: instruction not supported on this GPU
80
81v_cmpx_lt_f16 vcc, v2, v4
82// VI: v_cmpx_lt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x62,0x7c]
83// NOSICI: error: instruction not supported on this GPU
84
85v_cmpx_eq_f16 vcc, v2, v4
86// VI: v_cmpx_eq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x64,0x7c]
87// NOSICI: error: instruction not supported on this GPU
88
89v_cmpx_le_f16 vcc, v2, v4
90// VI: v_cmpx_le_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x66,0x7c]
91// NOSICI: error: instruction not supported on this GPU
92
93v_cmpx_gt_f16 vcc, v2, v4
94// VI: v_cmpx_gt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x68,0x7c]
95// NOSICI: error: instruction not supported on this GPU
96
97v_cmpx_lg_f16 vcc, v2, v4
98// VI: v_cmpx_lg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6a,0x7c]
99// NOSICI: error: instruction not supported on this GPU
100
101v_cmpx_ge_f16 vcc, v2, v4
102// VI: v_cmpx_ge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6c,0x7c]
103// NOSICI: error: instruction not supported on this GPU
104
105v_cmpx_o_f16 vcc, v2, v4
106// VI: v_cmpx_o_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6e,0x7c]
107// NOSICI: error: instruction not supported on this GPU
108
109v_cmpx_u_f16 vcc, v2, v4
110// VI: v_cmpx_u_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x70,0x7c]
111// NOSICI: error: instruction not supported on this GPU
112
113v_cmpx_nge_f16 vcc, v2, v4
114// VI: v_cmpx_nge_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x72,0x7c]
115// NOSICI: error: instruction not supported on this GPU
116
117v_cmpx_nlg_f16 vcc, v2, v4
118// VI: v_cmpx_nlg_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x74,0x7c]
119// NOSICI: error: instruction not supported on this GPU
120
121v_cmpx_ngt_f16 vcc, v2, v4
122// VI: v_cmpx_ngt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x76,0x7c]
123// NOSICI: error: instruction not supported on this GPU
124
125v_cmpx_nle_f16 vcc, v2, v4
126// VI: v_cmpx_nle_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x78,0x7c]
127// NOSICI: error: instruction not supported on this GPU
128
129v_cmpx_neq_f16 vcc, v2, v4
130// VI: v_cmpx_neq_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7a,0x7c]
131// NOSICI: error: instruction not supported on this GPU
132
133v_cmpx_nlt_f16 vcc, v2, v4
134// VI: v_cmpx_nlt_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7c,0x7c]
135// NOSICI: error: instruction not supported on this GPU
136
137v_cmpx_tru_f16 vcc, v2, v4
138// VI: v_cmpx_tru_f16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7e,0x7c]
139// NOSICI: error: instruction not supported on this GPU
140
141v_cmp_f_i16 vcc, v2, v4
142// VI: v_cmp_f_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x40,0x7d]
143// NOSICI: error: instruction not supported on this GPU
144
145v_cmp_lt_i16 vcc, v2, v4
146// VI: v_cmp_lt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x42,0x7d]
147// NOSICI: error: instruction not supported on this GPU
148
149v_cmp_eq_i16 vcc, v2, v4
150// VI: v_cmp_eq_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x44,0x7d]
151// NOSICI: error: instruction not supported on this GPU
152
153v_cmp_le_i16 vcc, v2, v4
154// VI: v_cmp_le_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x46,0x7d]
155// NOSICI: error: instruction not supported on this GPU
156
157v_cmp_gt_i16 vcc, v2, v4
158// VI: v_cmp_gt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x48,0x7d]
159// NOSICI: error: instruction not supported on this GPU
160
161v_cmp_ne_i16 vcc, v2, v4
162// VI: v_cmp_ne_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4a,0x7d]
163// NOSICI: error: instruction not supported on this GPU
164
165v_cmp_ge_i16 vcc, v2, v4
166// VI: v_cmp_ge_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4c,0x7d]
167// NOSICI: error: instruction not supported on this GPU
168
169v_cmp_t_i16 vcc, v2, v4
170// VI: v_cmp_t_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x4e,0x7d]
171// NOSICI: error: instruction not supported on this GPU
172
173v_cmp_f_u16 vcc, v2, v4
174// VI: v_cmp_f_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x50,0x7d]
175// NOSICI: error: instruction not supported on this GPU
176
177v_cmp_lt_u16 vcc, v2, v4
178// VI: v_cmp_lt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x52,0x7d]
179// NOSICI: error: instruction not supported on this GPU
180
181v_cmp_eq_u16 vcc, v2, v4
182// VI: v_cmp_eq_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x54,0x7d]
183// NOSICI: error: instruction not supported on this GPU
184
185v_cmp_le_u16 vcc, v2, v4
186// VI: v_cmp_le_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x56,0x7d]
187// NOSICI: error: instruction not supported on this GPU
188
189v_cmp_gt_u16 vcc, v2, v4
190// VI: v_cmp_gt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x58,0x7d]
191// NOSICI: error: instruction not supported on this GPU
192
193v_cmp_ne_u16 vcc, v2, v4
194// VI: v_cmp_ne_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5a,0x7d]
195// NOSICI: error: instruction not supported on this GPU
196
197v_cmp_ge_u16 vcc, v2, v4
198// VI: v_cmp_ge_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5c,0x7d]
199// NOSICI: error: instruction not supported on this GPU
200
201v_cmp_t_u16 vcc, v2, v4
202// VI: v_cmp_t_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x5e,0x7d]
203// NOSICI: error: instruction not supported on this GPU
204
205v_cmpx_f_i16 vcc, v2, v4
206// VI: v_cmpx_f_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x60,0x7d]
207// NOSICI: error: instruction not supported on this GPU
208
209v_cmpx_lt_i16 vcc, v2, v4
210// VI: v_cmpx_lt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x62,0x7d]
211// NOSICI: error: instruction not supported on this GPU
212
213v_cmpx_eq_i16 vcc, v2, v4
214// VI: v_cmpx_eq_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x64,0x7d]
215// NOSICI: error: instruction not supported on this GPU
216
217v_cmpx_le_i16 vcc, v2, v4
218// VI: v_cmpx_le_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x66,0x7d]
219// NOSICI: error: instruction not supported on this GPU
220
221v_cmpx_gt_i16 vcc, v2, v4
222// VI: v_cmpx_gt_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x68,0x7d]
223// NOSICI: error: instruction not supported on this GPU
224
225v_cmpx_ne_i16 vcc, v2, v4
226// VI: v_cmpx_ne_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6a,0x7d]
227// NOSICI: error: instruction not supported on this GPU
228
229v_cmpx_ge_i16 vcc, v2, v4
230// VI: v_cmpx_ge_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6c,0x7d]
231// NOSICI: error: instruction not supported on this GPU
232
233v_cmpx_t_i16 vcc, v2, v4
234// VI: v_cmpx_t_i16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x6e,0x7d]
235// NOSICI: error: instruction not supported on this GPU
236
237v_cmpx_f_u16 vcc, v2, v4
238// VI: v_cmpx_f_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x70,0x7d]
239// NOSICI: error: instruction not supported on this GPU
240
241v_cmpx_lt_u16 vcc, v2, v4
242// VI: v_cmpx_lt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x72,0x7d]
243// NOSICI: error: instruction not supported on this GPU
244
245v_cmpx_eq_u16 vcc, v2, v4
246// VI: v_cmpx_eq_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x74,0x7d]
247// NOSICI: error: instruction not supported on this GPU
248
249v_cmpx_le_u16 vcc, v2, v4
250// VI: v_cmpx_le_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x76,0x7d]
251// NOSICI: error: instruction not supported on this GPU
252
253v_cmpx_gt_u16 vcc, v2, v4
254// VI: v_cmpx_gt_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x78,0x7d]
255// NOSICI: error: instruction not supported on this GPU
256
257v_cmpx_ne_u16 vcc, v2, v4
258// VI: v_cmpx_ne_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7a,0x7d]
259// NOSICI: error: instruction not supported on this GPU
260
261v_cmpx_ge_u16 vcc, v2, v4
262// VI: v_cmpx_ge_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7c,0x7d]
263// NOSICI: error: instruction not supported on this GPU
264
265v_cmpx_t_u16 vcc, v2, v4
266// VI: v_cmpx_t_u16_e32 vcc, v2, v4 ; encoding: [0x02,0x09,0x7e,0x7d]
267// NOSICI: error: instruction not supported on this GPU
268