1 // RUN
: llvm-mc
-arch
=amdgcn
-mcpu
=bonaire
-show-encoding
%s | FileCheck
%s
--check-prefix
=CIVI
--check-prefix
=CI
2 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=tonga
-show-encoding
%s | FileCheck
%s
--check-prefix
=CIVI
--check-prefix
=VI
4 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=tonga
%s
2>&1 | FileCheck
%s
--check-prefix
=NOVI
--implicit-check-
not=error
:
5 // RUN
: not llvm-mc
-arch
=amdgcn
%s
2>&1 | FileCheck
%s
--check-prefix
=NOSI
--implicit-check-
not=error
:
6 // RUN
: not llvm-mc
-arch
=amdgcn
-mcpu
=tahiti
%s
2>&1 | FileCheck
%s
--check-prefix
=NOSI
--implicit-check-
not=error
:
8 //===----------------------------------------------------------------------===//
10 //===----------------------------------------------------------------------===//
12 flat_load_dword v1
, v
[3:4]
13 // NOSI
: error
: instruction
not supported on this GPU
14 // CI
: flat_load_dword v1
, v
[3:4] ; encoding
: [0x00,0x00,0x30,0xdc,0x03,0x00,0x00,0x01]
15 // VI
: flat_load_dword v1
, v
[3:4] ; encoding
: [0x00,0x00,0x50,0xdc,0x03,0x00,0x00,0x01]
17 flat_load_dword v1
, v
[3:4] glc
18 // NOSI
: error
: instruction
not supported on this GPU
19 // CI
: flat_load_dword v1
, v
[3:4] glc ; encoding
: [0x00,0x00,0x31,0xdc,0x03,0x00,0x00,0x01]
20 // VI
: flat_load_dword v1
, v
[3:4] glc ; encoding
: [0x00,0x00,0x51,0xdc,0x03,0x00,0x00,0x01]
22 flat_load_dword v1
, v
[3:4] glc slc
23 // NOSI
: error
: instruction
not supported on this GPU
24 // CI
: flat_load_dword v1
, v
[3:4] glc slc ; encoding
: [0x00,0x00,0x33,0xdc,0x03,0x00,0x00,0x01]
25 // VI
: flat_load_dword v1
, v
[3:4] glc slc ; encoding
: [0x00,0x00,0x53,0xdc,0x03,0x00,0x00,0x01]
27 flat_store_dword v
[3:4], v1
28 // NOSI
: error
: instruction
not supported on this GPU
29 // CIVI
: flat_store_dword v
[3:4], v1 ; encoding
: [0x00,0x00,0x70,0xdc,0x03,0x01,0x00,0x00]
31 flat_store_dword v
[3:4], v1 glc
32 // NOSI
: error
: instruction
not supported on this GPU
33 // CIVI
: flat_store_dword v
[3:4], v1 glc ; encoding
: [0x00,0x00,0x71,0xdc,0x03,0x01,0x00,0x00]
35 flat_store_dword v
[3:4], v1 glc slc
36 // NOSI
: error
: instruction
not supported on this GPU
37 // CIVI
: flat_store_dword v
[3:4], v1 glc slc ; encoding
: [0x00,0x00,0x73,0xdc,0x03,0x01,0x00,0x00]
40 flat_store_dword v
[3:4], v1 slc
41 // NOSI
: error
: instruction
not supported on this GPU
42 // CIVI
: flat_store_dword v
[3:4], v1 slc ; encoding
: [0x00,0x00,0x72,0xdc,0x03,0x01,0x00,0x00]
44 // FIXME
: For atomic instructions
, glc must
be placed immediately following
45 // the data regiser. These forms aren
't currently supported:
46 // FIXME: offset:0 required
47 // flat_atomic_add v1, v[3:4], v5 slc glc
49 flat_atomic_add v1, v[3:4], v5 offset:0 glc slc
50 // NOSI: error: instruction not supported on this GPU
51 // CI: flat_atomic_add v1, v[3:4], v5 glc slc ; encoding: [0x00,0x00,0xcb,0xdc,0x03,0x05,0x00,0x01]
52 // VI: flat_atomic_add v1, v[3:4], v5 glc slc ; encoding: [0x00,0x00,0x0b,0xdd,0x03,0x05,0x00,0x01]
54 flat_atomic_add v[3:4], v5 slc
55 // NOSI: error: instruction not supported on this GPU
56 // CI: flat_atomic_add v[3:4], v5 slc ; encoding: [0x00,0x00,0xca,0xdc,0x03,0x05,0x00,0x00]
57 // VI: flat_atomic_add v[3:4], v5 slc ; encoding: [0x00,0x00,0x0a,0xdd,0x03,0x05,0x00,0x00]
59 //===----------------------------------------------------------------------===//
61 //===----------------------------------------------------------------------===//
63 flat_load_ubyte v1, v[3:4]
64 // NOSI: error: instruction not supported on this GPU
65 // CI: flat_load_ubyte v1, v[3:4] ; encoding: [0x00,0x00,0x20,0xdc,0x03,0x00,0x00,0x01]
66 // VI: flat_load_ubyte v1, v[3:4] ; encoding: [0x00,0x00,0x40,0xdc,0x03,0x00,0x00,0x01]
68 flat_load_sbyte v1, v[3:4]
69 // NOSI: error: instruction not supported on this GPU
70 // CI: flat_load_sbyte v1, v[3:4] ; encoding: [0x00,0x00,0x24,0xdc,0x03,0x00,0x00,0x01]
71 // VI: flat_load_sbyte v1, v[3:4] ; encoding: [0x00,0x00,0x44,0xdc,0x03,0x00,0x00,0x01]
73 flat_load_ushort v1, v[3:4]
74 // NOSI: error: instruction not supported on this GPU
75 // CI: flat_load_ushort v1, v[3:4] ; encoding: [0x00,0x00,0x28,0xdc,0x03,0x00,0x00,0x01]
76 // VI: flat_load_ushort v1, v[3:4] ; encoding: [0x00,0x00,0x48,0xdc,0x03,0x00,0x00,0x01]
78 flat_load_sshort v1, v[3:4]
79 // NOSI: error: instruction not supported on this GPU
80 // CI: flat_load_sshort v1, v[3:4] ; encoding: [0x00,0x00,0x2c,0xdc,0x03,0x00,0x00,0x01]
81 // VI: flat_load_sshort v1, v[3:4] ; encoding: [0x00,0x00,0x4c,0xdc,0x03,0x00,0x00,0x01]
83 flat_load_dword v1, v[3:4]
84 // NOSI: error: instruction not supported on this GPU
85 // CI: flat_load_dword v1, v[3:4] ; encoding: [0x00,0x00,0x30,0xdc,0x03,0x00,0x00,0x01]
86 // VI: flat_load_dword v1, v[3:4] ; encoding: [0x00,0x00,0x50,0xdc,0x03,0x00,0x00,0x01]
88 flat_load_dwordx2 v[1:2], v[3:4]
89 // NOSI: error: instruction not supported on this GPU
90 // CI: flat_load_dwordx2 v[1:2], v[3:4] ; encoding: [0x00,0x00,0x34,0xdc,0x03,0x00,0x00,0x01]
91 // VI: flat_load_dwordx2 v[1:2], v[3:4] ; encoding: [0x00,0x00,0x54,0xdc,0x03,0x00,0x00,0x01]
93 flat_load_dwordx4 v[5:8], v[3:4]
94 // NOSI: error: instruction not supported on this GPU
95 // CI: flat_load_dwordx4 v[5:8], v[3:4] ; encoding: [0x00,0x00,0x38,0xdc,0x03,0x00,0x00,0x05]
96 // VI: flat_load_dwordx4 v[5:8], v[3:4] ; encoding: [0x00,0x00,0x5c,0xdc,0x03,0x00,0x00,0x05]
98 flat_load_dwordx3 v[5:7], v[3:4]
99 // NOSI: error: instruction not supported on this GPU
100 // CI: flat_load_dwordx3 v[5:7], v[3:4] ; encoding: [0x00,0x00,0x3c,0xdc,0x03,0x00,0x00,0x05]
101 // VI: flat_load_dwordx3 v[5:7], v[3:4] ; encoding: [0x00,0x00,0x58,0xdc,0x03,0x00,0x00,0x05]
103 flat_store_byte v[3:4], v1
104 // NOSI: error: instruction not supported on this GPU
105 // CIVI: flat_store_byte v[3:4], v1 ; encoding: [0x00,0x00,0x60,0xdc,0x03,0x01,0x00,0x00]
107 flat_store_short v[3:4], v1
108 // NOSI: error: instruction not supported on this GPU
109 // CIVI: flat_store_short v[3:4], v1 ; encoding: [0x00,0x00,0x68,0xdc,0x03,0x01,0x00,0x00]
111 flat_store_dword v[3:4], v1
112 // NOSI: error: instruction not supported on this GPU
113 // CIVI: flat_store_dword v[3:4], v1 ; encoding: [0x00,0x00,0x70,0xdc,0x03,0x01,0x00,0x00]
115 flat_store_dwordx2 v[3:4], v[1:2]
116 // NOSI: error: instruction not supported on this GPU
117 // CIVI: flat_store_dwordx2 v[3:4], v[1:2] ; encoding: [0x00,0x00,0x74,0xdc,0x03,0x01,0x00,0x00]
119 flat_store_dwordx4 v[3:4], v[5:8]
120 // NOSI: error: instruction not supported on this GPU
121 // CI: flat_store_dwordx4 v[3:4], v[5:8] ; encoding: [0x00,0x00,0x78,0xdc,0x03,0x05,0x00,0x00]
122 // VI: flat_store_dwordx4 v[3:4], v[5:8] ; encoding: [0x00,0x00,0x7c,0xdc,0x03,0x05,0x00,0x00]
124 flat_store_dwordx3 v[3:4], v[5:7]
125 // NOSI: error: instruction not supported on this GPU
126 // CI: flat_store_dwordx3 v[3:4], v[5:7] ; encoding: [0x00,0x00,0x7c,0xdc,0x03,0x05,0x00,0x00]
127 // VI: flat_store_dwordx3 v[3:4], v[5:7] ; encoding: [0x00,0x00,0x78,0xdc,0x03,0x05,0x00,0x00]
129 flat_atomic_swap v[3:4], v5
130 // NOSI: error: instruction not supported on this GPU
131 // CI: flat_atomic_swap v[3:4], v5 ; encoding: [0x00,0x00,0xc0,0xdc,0x03,0x05,0x00,0x00]
132 // VI: flat_atomic_swap v[3:4], v5 ; encoding: [0x00,0x00,0x00,0xdd,0x03,0x05,0x00,0x00]
134 flat_atomic_swap v1, v[3:4], v5 glc
135 // NOSI: error: instruction not supported on this GPU
136 // CI: flat_atomic_swap v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xc1,0xdc,0x03,0x05,0x00,0x01]
137 // VI: flat_atomic_swap v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x01,0xdd,0x03,0x05,0x00,0x01]
139 flat_atomic_cmpswap v[3:4], v[5:6]
140 // NOSI: error: instruction not supported on this GPU
141 // CI: flat_atomic_cmpswap v[3:4], v[5:6] ; encoding: [0x00,0x00,0xc4,0xdc,0x03,0x05,0x00,0x00]
142 // VI: flat_atomic_cmpswap v[3:4], v[5:6] ; encoding: [0x00,0x00,0x04,0xdd,0x03,0x05,0x00,0x00]
144 flat_atomic_cmpswap v1, v[3:4], v[5:6] glc
145 // NOSI: error: instruction not supported on this GPU
146 // CI: flat_atomic_cmpswap v1, v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0xc5,0xdc,0x03,0x05,0x00,0x01]
147 // VI: flat_atomic_cmpswap v1, v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x05,0xdd,0x03,0x05,0x00,0x01]
149 flat_atomic_add v[3:4], v5
150 // NOSI: error: instruction not supported on this GPU
151 // CI: flat_atomic_add v[3:4], v5 ; encoding: [0x00,0x00,0xc8,0xdc,0x03,0x05,0x00,0x00]
152 // VI: flat_atomic_add v[3:4], v5 ; encoding: [0x00,0x00,0x08,0xdd,0x03,0x05,0x00,0x00]
154 flat_atomic_add v1, v[3:4], v5 glc
155 // NOSI: error: instruction not supported on this GPU
156 // CI: flat_atomic_add v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xc9,0xdc,0x03,0x05,0x00,0x01]
157 // VI: flat_atomic_add v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x09,0xdd,0x03,0x05,0x00,0x01]
159 flat_atomic_sub v[3:4], v5
160 // NOSI: error: instruction not supported on this GPU
161 // CI: flat_atomic_sub v[3:4], v5 ; encoding: [0x00,0x00,0xcc,0xdc,0x03,0x05,0x00,0x00]
162 // VI: flat_atomic_sub v[3:4], v5 ; encoding: [0x00,0x00,0x0c,0xdd,0x03,0x05,0x00,0x00]
164 flat_atomic_sub v1, v[3:4], v5 glc
165 // NOSI: error: instruction not supported on this GPU
166 // CI: flat_atomic_sub v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xcd,0xdc,0x03,0x05,0x00,0x01]
167 // VI: flat_atomic_sub v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x0d,0xdd,0x03,0x05,0x00,0x01]
169 flat_atomic_smin v[3:4], v5
170 // NOSI: error: instruction not supported on this GPU
171 // CI: flat_atomic_smin v[3:4], v5 ; encoding: [0x00,0x00,0xd4,0xdc,0x03,0x05,0x00,0x00]
172 // VI: flat_atomic_smin v[3:4], v5 ; encoding: [0x00,0x00,0x10,0xdd,0x03,0x05,0x00,0x00]
174 flat_atomic_smin v1, v[3:4], v5 glc
175 // NOSI: error: instruction not supported on this GPU
176 // CI: flat_atomic_smin v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xd5,0xdc,0x03,0x05,0x00,0x01]
177 // VI: flat_atomic_smin v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x11,0xdd,0x03,0x05,0x00,0x01]
179 flat_atomic_umin v[3:4], v5
180 // NOSI: error: instruction not supported on this GPU
181 // CI: flat_atomic_umin v[3:4], v5 ; encoding: [0x00,0x00,0xd8,0xdc,0x03,0x05,0x00,0x00]
182 // VI: flat_atomic_umin v[3:4], v5 ; encoding: [0x00,0x00,0x14,0xdd,0x03,0x05,0x00,0x00]
184 flat_atomic_umin v1, v[3:4], v5 glc
185 // NOSI: error: instruction not supported on this GPU
186 // CI: flat_atomic_umin v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xd9,0xdc,0x03,0x05,0x00,0x01]
187 // VI: flat_atomic_umin v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x15,0xdd,0x03,0x05,0x00,0x01]
189 flat_atomic_smax v[3:4], v5,
190 // NOSI: error: instruction not supported on this GPU
191 // CI: flat_atomic_smax v[3:4], v5 ; encoding: [0x00,0x00,0xdc,0xdc,0x03,0x05,0x00,0x00]
192 // VI: flat_atomic_smax v[3:4], v5 ; encoding: [0x00,0x00,0x18,0xdd,0x03,0x05,0x00,0x00]
194 flat_atomic_smax v1, v[3:4], v5 glc
195 // NOSI: error: instruction not supported on this GPU
196 // CI: flat_atomic_smax v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xdd,0xdc,0x03,0x05,0x00,0x01]
197 // VI: flat_atomic_smax v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x19,0xdd,0x03,0x05,0x00,0x01]
199 flat_atomic_umax v[3:4], v5
200 // NOSI: error: instruction not supported on this GPU
201 // CI: flat_atomic_umax v[3:4], v5 ; encoding: [0x00,0x00,0xe0,0xdc,0x03,0x05,0x00,0x00]
202 // VI: flat_atomic_umax v[3:4], v5 ; encoding: [0x00,0x00,0x1c,0xdd,0x03,0x05,0x00,0x00]
204 flat_atomic_umax v1, v[3:4], v5 glc
205 // NOSI: error: instruction not supported on this GPU
206 // CI: flat_atomic_umax v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xe1,0xdc,0x03,0x05,0x00,0x01]
207 // VI: flat_atomic_umax v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x1d,0xdd,0x03,0x05,0x00,0x01]
209 flat_atomic_and v[3:4], v5
210 // NOSI: error: instruction not supported on this GPU
211 // CI: flat_atomic_and v[3:4], v5 ; encoding: [0x00,0x00,0xe4,0xdc,0x03,0x05,0x00,0x00]
212 // VI: flat_atomic_and v[3:4], v5 ; encoding: [0x00,0x00,0x20,0xdd,0x03,0x05,0x00,0x00]
214 flat_atomic_and v1, v[3:4], v5 glc
215 // NOSI: error: instruction not supported on this GPU
216 // CI: flat_atomic_and v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xe5,0xdc,0x03,0x05,0x00,0x01]
217 // VI: flat_atomic_and v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x21,0xdd,0x03,0x05,0x00,0x01]
219 flat_atomic_or v[3:4], v5
220 // NOSI: error: instruction not supported on this GPU
221 // CI: flat_atomic_or v[3:4], v5 ; encoding: [0x00,0x00,0xe8,0xdc,0x03,0x05,0x00,0x00]
222 // VI: flat_atomic_or v[3:4], v5 ; encoding: [0x00,0x00,0x24,0xdd,0x03,0x05,0x00,0x00]
224 flat_atomic_or v1, v[3:4], v5 glc
225 // NOSI: error: instruction not supported on this GPU
226 // CI: flat_atomic_or v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xe9,0xdc,0x03,0x05,0x00,0x01]
227 // VI: flat_atomic_or v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x25,0xdd,0x03,0x05,0x00,0x01]
229 flat_atomic_xor v[3:4], v5
230 // NOSI: error: instruction not supported on this GPU
231 // CI: flat_atomic_xor v[3:4], v5 ; encoding: [0x00,0x00,0xec,0xdc,0x03,0x05,0x00,0x00]
232 // VI: flat_atomic_xor v[3:4], v5 ; encoding: [0x00,0x00,0x28,0xdd,0x03,0x05,0x00,0x00]
234 flat_atomic_xor v1, v[3:4], v5 glc
235 // NOSI: error: instruction not supported on this GPU
236 // CI: flat_atomic_xor v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xed,0xdc,0x03,0x05,0x00,0x01]
237 // VI: flat_atomic_xor v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x29,0xdd,0x03,0x05,0x00,0x01]
239 flat_atomic_inc v[3:4], v5
240 // NOSI: error: instruction not supported on this GPU
241 // CI: flat_atomic_inc v[3:4], v5 ; encoding: [0x00,0x00,0xf0,0xdc,0x03,0x05,0x00,0x00]
242 // VI: flat_atomic_inc v[3:4], v5 ; encoding: [0x00,0x00,0x2c,0xdd,0x03,0x05,0x00,0x00]
244 flat_atomic_inc v1, v[3:4], v5 glc
245 // NOSI: error: instruction not supported on this GPU
246 // CI: flat_atomic_inc v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xf1,0xdc,0x03,0x05,0x00,0x01]
247 // VI: flat_atomic_inc v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x2d,0xdd,0x03,0x05,0x00,0x01]
249 flat_atomic_dec v[3:4], v5
250 // NOSI: error: instruction not supported on this GPU
251 // CI: flat_atomic_dec v[3:4], v5 ; encoding: [0x00,0x00,0xf4,0xdc,0x03,0x05,0x00,0x00]
252 // VI: flat_atomic_dec v[3:4], v5 ; encoding: [0x00,0x00,0x30,0xdd,0x03,0x05,0x00,0x00]
254 flat_atomic_dec v1, v[3:4], v5 glc
255 // NOSI: error: instruction not supported on this GPU
256 // CI: flat_atomic_dec v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0xf5,0xdc,0x03,0x05,0x00,0x01]
257 // VI: flat_atomic_dec v1, v[3:4], v5 glc ; encoding: [0x00,0x00,0x31,0xdd,0x03,0x05,0x00,0x01]
259 flat_atomic_fcmpswap v[3:4], v[5:6]
260 // NOSI: error: instruction not supported on this GPU
261 // CI: flat_atomic_fcmpswap v[3:4], v[5:6] ; encoding: [0x00,0x00,0xf8,0xdc,0x03,0x05,0x00,0x00]
262 // NOVI: error: instruction not supported on this GPU
264 flat_atomic_fcmpswap v1, v[3:4], v[5:6] glc
265 // NOSI: error: instruction not supported on this GPU
266 // CI: flat_atomic_fcmpswap v1, v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0xf9,0xdc,0x03,0x05,0x00,0x01]
267 // NOVI: error: instruction not supported on this GPU
269 flat_atomic_swap_x2 v[3:4], v[5:6]
270 // NOSI: error: instruction not supported on this GPU
271 // CI: flat_atomic_swap_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x40,0xdd,0x03,0x05,0x00,0x00]
272 // VI: flat_atomic_swap_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x80,0xdd,0x03,0x05,0x00,0x00]
274 flat_atomic_swap_x2 v[1:2], v[3:4], v[5:6] glc
275 // NOSI: error: instruction not supported on this GPU
276 // CI: flat_atomic_swap_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x41,0xdd,0x03,0x05,0x00,0x01]
277 // VI: flat_atomic_swap_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x81,0xdd,0x03,0x05,0x00,0x01]
279 flat_atomic_cmpswap_x2 v[3:4], v[5:8]
280 // NOSI: error: instruction not supported on this GPU
281 // CI: flat_atomic_cmpswap_x2 v[3:4], v[5:8] ; encoding: [0x00,0x00,0x44,0xdd,0x03,0x05,0x00,0x00]
282 // VI: flat_atomic_cmpswap_x2 v[3:4], v[5:8] ; encoding: [0x00,0x00,0x84,0xdd,0x03,0x05,0x00,0x00]
284 flat_atomic_cmpswap_x2 v[1:2], v[3:4], v[5:8] glc
285 // NOSI: error: instruction not supported on this GPU
286 // CI: flat_atomic_cmpswap_x2 v[1:2], v[3:4], v[5:8] glc ; encoding: [0x00,0x00,0x45,0xdd,0x03,0x05,0x00,0x01]
287 // VI: flat_atomic_cmpswap_x2 v[1:2], v[3:4], v[5:8] glc ; encoding: [0x00,0x00,0x85,0xdd,0x03,0x05,0x00,0x01]
289 flat_atomic_add_x2 v[3:4], v[5:6]
290 // NOSI: error: instruction not supported on this GPU
291 // CI: flat_atomic_add_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x48,0xdd,0x03,0x05,0x00,0x00]
292 // VI: flat_atomic_add_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x88,0xdd,0x03,0x05,0x00,0x00]
294 flat_atomic_add_x2 v[1:2], v[3:4], v[5:6] glc
295 // NOSI: error: instruction not supported on this GPU
296 // CI: flat_atomic_add_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x49,0xdd,0x03,0x05,0x00,0x01]
297 // VI: flat_atomic_add_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x89,0xdd,0x03,0x05,0x00,0x01]
299 flat_atomic_sub_x2 v[3:4], v[5:6]
300 // NOSI: error: instruction not supported on this GPU
301 // CI: flat_atomic_sub_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x4c,0xdd,0x03,0x05,0x00,0x00]
302 // VI: flat_atomic_sub_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x8c,0xdd,0x03,0x05,0x00,0x00]
304 flat_atomic_sub_x2 v[1:2], v[3:4], v[5:6] glc
305 // NOSI: error: instruction not supported on this GPU
306 // CI: flat_atomic_sub_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x4d,0xdd,0x03,0x05,0x00,0x01]
307 // VI: flat_atomic_sub_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x8d,0xdd,0x03,0x05,0x00,0x01]
309 flat_atomic_smin_x2 v[3:4], v[5:6]
310 // NOSI: error: instruction not supported on this GPU
311 // CI: flat_atomic_smin_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x54,0xdd,0x03,0x05,0x00,0x00]
312 // VI: flat_atomic_smin_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x90,0xdd,0x03,0x05,0x00,0x00]
314 flat_atomic_smin_x2 v[1:2], v[3:4], v[5:6] glc
315 // NOSI: error: instruction not supported on this GPU
316 // CI: flat_atomic_smin_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x55,0xdd,0x03,0x05,0x00,0x01]
317 // VI: flat_atomic_smin_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x91,0xdd,0x03,0x05,0x00,0x01]
319 flat_atomic_umin_x2 v[3:4], v[5:6]
320 // NOSI: error: instruction not supported on this GPU
321 // CI: flat_atomic_umin_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x58,0xdd,0x03,0x05,0x00,0x00]
322 // VI: flat_atomic_umin_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x94,0xdd,0x03,0x05,0x00,0x00]
324 flat_atomic_umin_x2 v[1:2], v[3:4], v[5:6] glc
325 // NOSI: error: instruction not supported on this GPU
326 // CI: flat_atomic_umin_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x59,0xdd,0x03,0x05,0x00,0x01]
327 // VI: flat_atomic_umin_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x95,0xdd,0x03,0x05,0x00,0x01]
329 flat_atomic_smax_x2 v[3:4], v[5:6]
330 // NOSI: error: instruction not supported on this GPU
331 // CI: flat_atomic_smax_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x5c,0xdd,0x03,0x05,0x00,0x00]
332 // VI: flat_atomic_smax_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x98,0xdd,0x03,0x05,0x00,0x00]
334 flat_atomic_smax_x2 v[1:2], v[3:4], v[5:6] glc
335 // NOSI: error: instruction not supported on this GPU
336 // CI: flat_atomic_smax_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x5d,0xdd,0x03,0x05,0x00,0x01]
337 // VI: flat_atomic_smax_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x99,0xdd,0x03,0x05,0x00,0x01]
339 flat_atomic_umax_x2 v[3:4], v[5:6]
340 // NOSI: error: instruction not supported on this GPU
341 // CI: flat_atomic_umax_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x60,0xdd,0x03,0x05,0x00,0x00]
342 // VI: flat_atomic_umax_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x9c,0xdd,0x03,0x05,0x00,0x00]
344 flat_atomic_umax_x2 v[1:2], v[3:4], v[5:6] glc
345 // NOSI: error: instruction not supported on this GPU
346 // CI: flat_atomic_umax_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x61,0xdd,0x03,0x05,0x00,0x01]
347 // VI: flat_atomic_umax_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x9d,0xdd,0x03,0x05,0x00,0x01]
349 flat_atomic_and_x2 v[3:4], v[5:6]
350 // NOSI: error: instruction not supported on this GPU
351 // CI: flat_atomic_and_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x64,0xdd,0x03,0x05,0x00,0x00]
352 // VI: flat_atomic_and_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0xa0,0xdd,0x03,0x05,0x00,0x00]
354 flat_atomic_and_x2 v[1:2], v[3:4], v[5:6] glc
355 // NOSI: error: instruction not supported on this GPU
356 // CI: flat_atomic_and_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x65,0xdd,0x03,0x05,0x00,0x01]
357 // VI: flat_atomic_and_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0xa1,0xdd,0x03,0x05,0x00,0x01]
359 flat_atomic_or_x2 v[3:4], v[5:6]
360 // NOSI: error: instruction not supported on this GPU
361 // CI: flat_atomic_or_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x68,0xdd,0x03,0x05,0x00,0x00]
362 // VI: flat_atomic_or_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0xa4,0xdd,0x03,0x05,0x00,0x00]
364 flat_atomic_or_x2 v[1:2], v[3:4], v[5:6] glc
365 // NOSI: error: instruction not supported on this GPU
366 // CI: flat_atomic_or_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x69,0xdd,0x03,0x05,0x00,0x01]
367 // VI: flat_atomic_or_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0xa5,0xdd,0x03,0x05,0x00,0x01]
369 flat_atomic_xor_x2 v[3:4], v[5:6]
370 // NOSI: error: instruction not supported on this GPU
371 // CI: flat_atomic_xor_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x6c,0xdd,0x03,0x05,0x00,0x00]
372 // VI: flat_atomic_xor_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0xa8,0xdd,0x03,0x05,0x00,0x00]
374 flat_atomic_xor_x2 v[1:2], v[3:4], v[5:6] glc
375 // NOSI: error: instruction not supported on this GPU
376 // CI: flat_atomic_xor_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x6d,0xdd,0x03,0x05,0x00,0x01]
377 // VI: flat_atomic_xor_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0xa9,0xdd,0x03,0x05,0x00,0x01]
379 flat_atomic_inc_x2 v[3:4], v[5:6]
380 // NOSI: error: instruction not supported on this GPU
381 // CI: flat_atomic_inc_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x70,0xdd,0x03,0x05,0x00,0x00]
382 // VI: flat_atomic_inc_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0xac,0xdd,0x03,0x05,0x00,0x00]
384 flat_atomic_inc_x2 v[1:2], v[3:4], v[5:6] glc
385 // NOSI: error: instruction not supported on this GPU
386 // CI: flat_atomic_inc_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x71,0xdd,0x03,0x05,0x00,0x01]
387 // VI: flat_atomic_inc_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0xad,0xdd,0x03,0x05,0x00,0x01]
389 flat_atomic_dec_x2 v[3:4], v[5:6]
390 // NOSI: error: instruction not supported on this GPU
391 // CI: flat_atomic_dec_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x74,0xdd,0x03,0x05,0x00,0x00]
392 // VI: flat_atomic_dec_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0xb0,0xdd,0x03,0x05,0x00,0x00]
394 flat_atomic_dec_x2 v[1:2], v[3:4], v[5:6] glc
395 // NOSI: error: instruction not supported on this GPU
396 // CI: flat_atomic_dec_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x75,0xdd,0x03,0x05,0x00,0x01]
397 // VI: flat_atomic_dec_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0xb1,0xdd,0x03,0x05,0x00,0x01]
399 flat_atomic_fcmpswap_x2 v[3:4], v[5:8]
400 // NOSI: error: instruction not supported on this GPU
401 // CI: flat_atomic_fcmpswap_x2 v[3:4], v[5:8] ; encoding: [0x00,0x00,0x78,0xdd,0x03,0x05,0x00,0x00]
402 // NOVI: error: instruction not supported on this GPU
404 flat_atomic_fcmpswap_x2 v[1:2], v[3:4], v[5:8] glc
405 // NOSI: error: instruction not supported on this GPU
406 // CI: flat_atomic_fcmpswap_x2 v[1:2], v[3:4], v[5:8] glc ; encoding: [0x00,0x00,0x79,0xdd,0x03,0x05,0x00,0x01]
407 // NOVI: error: instruction not supported on this GPU
409 flat_atomic_fmin_x2 v[3:4], v[5:6]
410 // NOSI: error: instruction not supported on this GPU
411 // CI: flat_atomic_fmin_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x7c,0xdd,0x03,0x05,0x00,0x00]
412 // NOVI: error: instruction not supported on this GPU
414 flat_atomic_fmin_x2 v[1:2], v[3:4], v[5:6] glc
415 // NOSI: error: instruction not supported on this GPU
416 // CI: flat_atomic_fmin_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x7d,0xdd,0x03,0x05,0x00,0x01]
417 // NOVI: error: instruction not supported on this GPU
419 flat_atomic_fmax_x2 v[3:4], v[5:6]
420 // NOSI: error: instruction not supported on this GPU
421 // CI: flat_atomic_fmax_x2 v[3:4], v[5:6] ; encoding: [0x00,0x00,0x80,0xdd,0x03,0x05,0x00,0x00]
422 // NOVI: error: instruction not supported on this GPU
424 flat_atomic_fmax_x2 v[1:2], v[3:4], v[5:6] glc
425 // NOSI: error: instruction not supported on this GPU
426 // CI: flat_atomic_fmax_x2 v[1:2], v[3:4], v[5:6] glc ; encoding: [0x00,0x00,0x81,0xdd,0x03,0x05,0x00,0x01]
427 // NOVI: error: instruction not supported on this GPU