[AMDGPU] Add True16 register classes.
[llvm-project.git] / llvm / test / MC / AMDGPU / gfx940_asm_features.s
blob5ee9480677be92f68cff58408558762776bde7d4
1 // RUN: llvm-mc -triple=amdgcn -mcpu=gfx940 -show-encoding %s | FileCheck --check-prefix=GFX940 --strict-whitespace %s
2 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx90a %s 2>&1 | FileCheck --check-prefixes=NOT-GFX940,GFX90A --implicit-check-not=error: %s
3 // RUN: not llvm-mc -triple=amdgcn -mcpu=gfx1010 %s 2>&1 | FileCheck --check-prefixes=NOT-GFX940,GFX10 --implicit-check-not=error: %s
5 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction
6 // GFX940: global_load_dword v2, v[2:3], off sc0 ; encoding: [0x00,0x80,0x51,0xdc,0x02,0x00,0x7f,0x02]
7 global_load_dword v2, v[2:3], off sc0
9 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction
10 // GFX940: global_load_dword v2, v[2:3], off ; encoding: [0x00,0x80,0x50,0xdc,0x02,0x00,0x7f,0x02]
11 global_load_dword v2, v[2:3], off nosc0
13 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction
14 // GFX940: global_load_dword v2, v[2:3], off sc1 ; encoding: [0x00,0x80,0x50,0xde,0x02,0x00,0x7f,0x02]
15 global_load_dword v2, v[2:3], off sc1
17 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction
18 // GFX940: global_load_dword v2, v[2:3], off ; encoding: [0x00,0x80,0x50,0xdc,0x02,0x00,0x7f,0x02]
19 global_load_dword v2, v[2:3], off nosc1
21 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction
22 // GFX940: global_load_dword v2, v[2:3], off nt ; encoding: [0x00,0x80,0x52,0xdc,0x02,0x00,0x7f,0x02]
23 global_load_dword v2, v[2:3], off nt
25 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction
26 // GFX940: global_load_dword v2, v[2:3], off ; encoding: [0x00,0x80,0x50,0xdc,0x02,0x00,0x7f,0x02]
27 global_load_dword v2, v[2:3], off nont
29 // GFX940: s_load_dword s2, s[2:3], 0x0 glc ; encoding: [0x81,0x00,0x03,0xc0,0x00,0x00,0x00,0x00]
30 s_load_dword s2, s[2:3], 0x0 glc
32 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction
33 // GFX940: buffer_load_dword v5, off, s[8:11], s3 sc0 nt sc1 ; encoding: [0x00,0xc0,0x52,0xe0,0x00,0x05,0x02,0x03]
34 buffer_load_dword v5, off, s[8:11], s3 sc0 nt sc1
36 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
37 // GFX940: flat_atomic_add_f32 v[2:3], v1 ; encoding: [0x00,0x00,0x34,0xdd,0x02,0x01,0x00,0x00]
38 flat_atomic_add_f32 v[2:3], v1
40 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
41 // GFX940: flat_atomic_add_f32 v[2:3], a1 ; encoding: [0x00,0x00,0x34,0xdd,0x02,0x01,0x80,0x00]
42 flat_atomic_add_f32 v[2:3], a1
44 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
45 // GFX940: flat_atomic_add_f32 v4, v[2:3], v1 sc0 ; encoding: [0x00,0x00,0x35,0xdd,0x02,0x01,0x00,0x04]
46 flat_atomic_add_f32 v4, v[2:3], v1 sc0
48 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
49 // GFX940: flat_atomic_add_f32 a4, v[2:3], a1 sc0 ; encoding: [0x00,0x00,0x35,0xdd,0x02,0x01,0x80,0x04]
50 flat_atomic_add_f32 a4, v[2:3], a1 sc0
52 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
53 // GFX940: flat_atomic_pk_add_f16 v4, v[2:3], v1 sc0 ; encoding: [0x00,0x00,0x39,0xdd,0x02,0x01,0x00,0x04]
54 flat_atomic_pk_add_f16 v4, v[2:3], v1 sc0
56 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
57 // GFX940: flat_atomic_pk_add_f16 a4, v[2:3], a1 sc0 ; encoding: [0x00,0x00,0x39,0xdd,0x02,0x01,0x80,0x04]
58 flat_atomic_pk_add_f16 a4, v[2:3], a1 sc0
60 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
61 // GFX940: flat_atomic_pk_add_f16 v[2:3], v1 ; encoding: [0x00,0x00,0x38,0xdd,0x02,0x01,0x00,0x00]
62 flat_atomic_pk_add_f16 v[2:3], v1
64 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
65 // GFX940: flat_atomic_pk_add_f16 v[2:3], a1 ; encoding: [0x00,0x00,0x38,0xdd,0x02,0x01,0x80,0x00]
66 flat_atomic_pk_add_f16 v[2:3], a1
68 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
69 // GFX940: flat_atomic_pk_add_bf16 v4, v[2:3], v1 sc0 ; encoding: [0x00,0x00,0x49,0xdd,0x02,0x01,0x00,0x04]
70 flat_atomic_pk_add_bf16 v4, v[2:3], v1 sc0
72 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
73 // GFX940: flat_atomic_pk_add_bf16 a4, v[2:3], a1 sc0 ; encoding: [0x00,0x00,0x49,0xdd,0x02,0x01,0x80,0x04]
74 flat_atomic_pk_add_bf16 a4, v[2:3], a1 sc0
76 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
77 // GFX940: flat_atomic_pk_add_bf16 v[2:3], v1 ; encoding: [0x00,0x00,0x48,0xdd,0x02,0x01,0x00,0x00]
78 flat_atomic_pk_add_bf16 v[2:3], v1
80 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
81 // GFX940: flat_atomic_pk_add_bf16 v[2:3], a1 ; encoding: [0x00,0x00,0x48,0xdd,0x02,0x01,0x80,0x00]
82 flat_atomic_pk_add_bf16 v[2:3], a1
84 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
85 // GFX940: global_atomic_pk_add_bf16 v4, v[2:3], v1, off sc0 ; encoding: [0x00,0x80,0x49,0xdd,0x02,0x01,0x7f,0x04]
86 global_atomic_pk_add_bf16 v4, v[2:3], v1, off sc0
88 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
89 // GFX940: global_atomic_pk_add_bf16 a4, v[2:3], a1, off sc0 ; encoding: [0x00,0x80,0x49,0xdd,0x02,0x01,0xff,0x04]
90 global_atomic_pk_add_bf16 a4, v[2:3], a1, off sc0
92 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
93 // GFX940: global_atomic_pk_add_bf16 v[2:3], v1, off ; encoding: [0x00,0x80,0x48,0xdd,0x02,0x01,0x7f,0x00]
94 global_atomic_pk_add_bf16 v[2:3], v1, off
96 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
97 // GFX940: global_atomic_pk_add_bf16 v[2:3], a1, off ; encoding: [0x00,0x80,0x48,0xdd,0x02,0x01,0xff,0x00]
98 global_atomic_pk_add_bf16 v[2:3], a1, off
100 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
101 // GFX940: ds_pk_add_f16 v2, v1 ; encoding: [0x00,0x00,0x2e,0xd8,0x02,0x01,0x00,0x00]
102 ds_pk_add_f16 v2, v1
104 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
105 // GFX940: ds_pk_add_f16 v2, a1 ; encoding: [0x00,0x00,0x2e,0xda,0x02,0x01,0x00,0x00]
106 ds_pk_add_f16 v2, a1
108 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
109 // GFX940: ds_pk_add_rtn_f16 v3, v2, v1 ; encoding: [0x00,0x00,0x6e,0xd9,0x02,0x01,0x00,0x03]
110 ds_pk_add_rtn_f16 v3, v2, v1
112 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
113 // GFX940: ds_pk_add_rtn_f16 a3, v2, a1 ; encoding: [0x00,0x00,0x6e,0xdb,0x02,0x01,0x00,0x03]
114 ds_pk_add_rtn_f16 a3, v2, a1
116 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
117 // GFX940: ds_pk_add_bf16 v2, v1 ; encoding: [0x00,0x00,0x30,0xd8,0x02,0x01,0x00,0x00]
118 ds_pk_add_bf16 v2, v1
120 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
121 // GFX940: ds_pk_add_bf16 v2, a1 ; encoding: [0x00,0x00,0x30,0xda,0x02,0x01,0x00,0x00]
122 ds_pk_add_bf16 v2, a1
124 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
125 // GFX940: ds_pk_add_rtn_bf16 v3, v2, v1 ; encoding: [0x00,0x00,0x70,0xd9,0x02,0x01,0x00,0x03]
126 ds_pk_add_rtn_bf16 v3, v2, v1
128 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
129 // GFX940: ds_pk_add_rtn_bf16 a3, v2, a1 ; encoding: [0x00,0x00,0x70,0xdb,0x02,0x01,0x00,0x03]
130 ds_pk_add_rtn_bf16 a3, v2, a1
132 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
133 // GFX940: global_load_lds_dword v[2:3], off ; encoding: [0x00,0x80,0xa8,0xdc,0x02,0x00,0x7f,0x00]
134 global_load_lds_dword v[2:3], off
136 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error:
137 // GFX940: global_load_lds_dword v[2:3], off sc0 nt sc1 ; encoding: [0x00,0x80,0xab,0xde,0x02,0x00,0x7f,0x00]
138 global_load_lds_dword v[2:3], off sc0 nt sc1
140 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error:
141 // GFX940: global_load_lds_dword v[2:3], off offset:4 ; encoding: [0x04,0x80,0xa8,0xdc,0x02,0x00,0x7f,0x00]
142 global_load_lds_dword v[2:3], off offset:4
144 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error:
145 // GFX940: global_load_lds_dword v2, s[4:5] offset:4 ; encoding: [0x04,0x80,0xa8,0xdc,0x02,0x00,0x04,0x00]
146 global_load_lds_dword v2, s[4:5] offset:4
148 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
149 // GFX940: global_load_lds_ubyte v[2:3], off ; encoding: [0x00,0x80,0x98,0xdc,0x02,0x00,0x7f,0x00]
150 global_load_lds_ubyte v[2:3], off
152 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
153 // GFX940: global_load_lds_sbyte v[2:3], off ; encoding: [0x00,0x80,0x9c,0xdc,0x02,0x00,0x7f,0x00]
154 global_load_lds_sbyte v[2:3], off
156 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
157 // GFX940: global_load_lds_sshort v[2:3], off ; encoding: [0x00,0x80,0xa4,0xdc,0x02,0x00,0x7f,0x00]
158 global_load_lds_sshort v[2:3], off
160 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
161 // GFX940: global_load_lds_ushort v[2:3], off ; encoding: [0x00,0x80,0xa0,0xdc,0x02,0x00,0x7f,0x00]
162 global_load_lds_ushort v[2:3], off
164 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
165 // GFX940: scratch_load_lds_dword v2, off ; encoding: [0x00,0x60,0xa8,0xdc,0x02,0x00,0x7f,0x00]
166 scratch_load_lds_dword v2, off
168 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
169 // GFX940: scratch_load_lds_dword v2, s4 ; encoding: [0x00,0x60,0xa8,0xdc,0x02,0x00,0x04,0x00]
170 scratch_load_lds_dword v2, s4
172 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error:
173 // GFX940: scratch_load_lds_dword v2, s4 offset:4 ; encoding: [0x04,0x60,0xa8,0xdc,0x02,0x00,0x04,0x00]
174 scratch_load_lds_dword v2, s4 offset:4
176 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error:
177 // GFX940: scratch_load_lds_dword off, s4 offset:4 ; encoding: [0x04,0x40,0xa8,0xdc,0x00,0x00,0x04,0x00]
178 scratch_load_lds_dword off, s4 offset:4
180 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error:
181 // GFX940: scratch_load_lds_dword off, off offset:4 ; encoding: [0x04,0x40,0xa8,0xdc,0x00,0x00,0x7f,0x00]
182 scratch_load_lds_dword off, off offset:4
184 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
185 // GFX940: scratch_load_lds_ubyte v2, off ; encoding: [0x00,0x60,0x98,0xdc,0x02,0x00,0x7f,0x00]
186 scratch_load_lds_ubyte v2, off
188 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
189 // GFX940: scratch_load_lds_sbyte v2, off ; encoding: [0x00,0x60,0x9c,0xdc,0x02,0x00,0x7f,0x00]
190 scratch_load_lds_sbyte v2, off
192 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
193 // GFX940: scratch_load_lds_ushort v2, off ; encoding: [0x00,0x60,0xa0,0xdc,0x02,0x00,0x7f,0x00]
194 scratch_load_lds_ushort v2, off
196 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
197 // GFX940: scratch_load_lds_sshort v2, off ; encoding: [0x00,0x60,0xa4,0xdc,0x02,0x00,0x7f,0x00]
198 scratch_load_lds_sshort v2, off
200 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: specified hardware register is not supported on this GPU
201 // GFX940: s_getreg_b32 s1, hwreg(HW_REG_XCC_ID) ; encoding: [0x14,0xf8,0x81,0xb8]
202 s_getreg_b32 s1, hwreg(HW_REG_XCC_ID)
204 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: specified hardware register is not supported on this GPU
205 // GFX940: s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_DATA) ; encoding: [0x15,0xf8,0x81,0xb8]
206 s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_DATA)
208 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: specified hardware register is not supported on this GPU
209 // GFX940: s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_DATA1) ; encoding: [0x16,0xf8,0x81,0xb8]
210 s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_DATA1)
212 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: specified hardware register is not supported on this GPU
213 // GFX940: s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_PC_LO) ; encoding: [0x17,0xf8,0x81,0xb8]
214 s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_PC_LO)
216 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: specified hardware register is not supported on this GPU
217 // GFX940: s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_PC_HI) ; encoding: [0x18,0xf8,0x81,0xb8]
218 s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_PC_HI)
220 // GFX940: s_getreg_b32 s1, hwreg(HW_REG_TMA_HI) ; encoding: [0x13,0xf8,0x81,0xb8]
221 s_getreg_b32 s1, hwreg(19)
223 // GFX940: s_getreg_b32 s1, hwreg(HW_REG_XCC_ID) ; encoding: [0x14,0xf8,0x81,0xb8]
224 s_getreg_b32 s1, hwreg(20)
226 // GFX940: s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_DATA) ; encoding: [0x15,0xf8,0x81,0xb8]
227 s_getreg_b32 s1, hwreg(21)
229 // GFX940: s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_DATA1) ; encoding: [0x16,0xf8,0x81,0xb8]
230 s_getreg_b32 s1, hwreg(22)
232 // GFX940: s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_PC_LO) ; encoding: [0x17,0xf8,0x81,0xb8]
233 s_getreg_b32 s1, hwreg(23)
235 // GFX940: s_getreg_b32 s1, hwreg(HW_REG_SQ_PERF_SNAPSHOT_PC_HI) ; encoding: [0x18,0xf8,0x81,0xb8]
236 s_getreg_b32 s1, hwreg(24)
238 // GFX940: s_getreg_b32 s1, hwreg(25) ; encoding: [0x19,0xf8,0x81,0xb8]
239 s_getreg_b32 s1, hwreg(25)
241 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
242 // GFX940: v_mov_b64_e32 v[2:3], v[4:5] ; encoding: [0x04,0x71,0x04,0x7e]
243 v_mov_b64 v[2:3], v[4:5]
245 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
246 // GFX940: v_mov_b64_dpp v[2:3], v[4:5] row_newbcast:1 row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0x70,0x04,0x7e,0x04,0x51,0x01,0xff]
247 v_mov_b64 v[2:3], v[4:5] row_newbcast:1
249 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
250 // GFX940: v_mov_b64_e32 v[2:3], s[4:5] ; encoding: [0x04,0x70,0x04,0x7e]
251 v_mov_b64 v[2:3], s[4:5]
253 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
254 // GFX940: v_mov_b64_e32 v[2:3], 1 ; encoding: [0x81,0x70,0x04,0x7e]
255 v_mov_b64 v[2:3], 1
257 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
258 // GFX940: v_mov_b64_e32 v[2:3], 0x64 ; encoding: [0xff,0x70,0x04,0x7e,0x64,0x00,0x00,0x00]
259 v_mov_b64 v[2:3], 0x64
261 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
262 // GFX940: v_lshl_add_u64 v[2:3], s[4:5], v7, v[8:9] ; encoding: [0x02,0x00,0x08,0xd2,0x04,0x0e,0x22,0x04]
263 v_lshl_add_u64 v[2:3], s[4:5], v7, v[8:9]
265 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
266 // GFX940: v_lshl_add_u64 v[2:3], v[4:5], 0, 1 ; encoding: [0x02,0x00,0x08,0xd2,0x04,0x01,0x05,0x02]
267 v_lshl_add_u64 v[2:3], v[4:5], 0, 1
269 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
270 // GFX940: v_lshl_add_u64 v[2:3], v[4:5], 3, s[2:3] ; encoding: [0x02,0x00,0x08,0xd2,0x04,0x07,0x09,0x00]
271 v_lshl_add_u64 v[2:3], v[4:5], 3, s[2:3]
273 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
274 // GFX940: v_lshl_add_u64 v[2:3], s[4:5], 4, v[2:3] ; encoding: [0x02,0x00,0x08,0xd2,0x04,0x08,0x09,0x04]
275 v_lshl_add_u64 v[2:3], s[4:5], 4, v[2:3]
277 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
278 // GFX10: error: instruction not supported on this GPU
279 // GFX940: buffer_wbl2 sc1 ; encoding: [0x00,0x80,0xa0,0xe0,0x00,0x00,0x00,0x00]
280 buffer_wbl2 sc1
282 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
283 // GFX10: error: instruction not supported on this GPU
284 // GFX940: buffer_wbl2 sc0 ; encoding: [0x00,0x40,0xa0,0xe0,0x00,0x00,0x00,0x00]
285 buffer_wbl2 sc0
287 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
288 // GFX10: error: instruction not supported on this GPU
289 // GFX940: buffer_wbl2 sc0 sc1 ; encoding: [0x00,0xc0,0xa0,0xe0,0x00,0x00,0x00,0x00]
290 buffer_wbl2 sc0 sc1
292 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
293 // GFX940: buffer_inv sc0 ; encoding: [0x00,0x40,0xa4,0xe0,0x00,0x00,0x00,0x00]
294 buffer_inv sc0
296 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
297 // GFX940: buffer_inv sc1 ; encoding: [0x00,0x80,0xa4,0xe0,0x00,0x00,0x00,0x00]
298 buffer_inv sc1
300 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
301 // GFX940: buffer_inv sc0 sc1 ; encoding: [0x00,0xc0,0xa4,0xe0,0x00,0x00,0x00,0x00]
302 buffer_inv sc0 sc1
304 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction
305 // GFX940: buffer_atomic_swap v5, off, s[8:11], s3 sc0 ; encoding: [0x00,0x40,0x00,0xe1,0x00,0x05,0x02,0x03]
306 buffer_atomic_swap v5, off, s[8:11], s3 sc0
308 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: invalid operand for instruction
309 // GFX940: buffer_atomic_swap v5, off, s[8:11], s3 nt ; encoding: [0x00,0x00,0x02,0xe1,0x00,0x05,0x02,0x03]
310 buffer_atomic_swap v5, off, s[8:11], s3 nt
312 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
313 // GFX940: v_fmac_f64_e32 v[4:5], v[2:3], v[4:5] ; encoding: [0x02,0x09,0x08,0x08]
314 v_fmac_f64_e32 v[4:5], v[2:3], v[4:5]
316 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
317 // GFX940: v_fmac_f64_e32 v[254:255], v[2:3], v[4:5] ; encoding: [0x02,0x09,0xfc,0x09]
318 v_fmac_f64_e32 v[254:255], v[2:3], v[4:5]
320 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
321 // GFX940: v_fmac_f64_e32 v[4:5], v[254:255], v[4:5] ; encoding: [0xfe,0x09,0x08,0x08]
322 v_fmac_f64_e32 v[4:5], v[254:255], v[4:5]
324 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
325 // GFX940: v_fmac_f64_e32 v[4:5], flat_scratch, v[4:5] ; encoding: [0x66,0x08,0x08,0x08]
326 v_fmac_f64_e32 v[4:5], flat_scratch, v[4:5]
328 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
329 // GFX940: v_fmac_f64_e32 v[4:5], vcc, v[4:5] ; encoding: [0x6a,0x08,0x08,0x08]
330 v_fmac_f64_e32 v[4:5], vcc, v[4:5]
332 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
333 // GFX940: v_fmac_f64_e32 v[4:5], exec, v[4:5] ; encoding: [0x7e,0x08,0x08,0x08]
334 v_fmac_f64_e32 v[4:5], exec, v[4:5]
336 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
337 // GFX940: v_fmac_f64_e32 v[4:5], 0, v[4:5] ; encoding: [0x80,0x08,0x08,0x08]
338 v_fmac_f64_e32 v[4:5], 0, v[4:5]
340 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
341 // GFX940: v_fmac_f64_e32 v[4:5], -1, v[4:5] ; encoding: [0xc1,0x08,0x08,0x08]
342 v_fmac_f64_e32 v[4:5], -1, v[4:5]
344 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
345 // GFX940: v_fmac_f64_e32 v[4:5], 0.5, v[4:5] ; encoding: [0xf0,0x08,0x08,0x08]
346 v_fmac_f64_e32 v[4:5], 0.5, v[4:5]
348 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
349 // GFX940: v_fmac_f64_e32 v[4:5], -4.0, v[4:5] ; encoding: [0xf7,0x08,0x08,0x08]
350 v_fmac_f64_e32 v[4:5], -4.0, v[4:5]
352 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
353 // GFX940: v_fmac_f64_e32 v[4:5], 0xaf123456, v[4:5] ; encoding: [0xff,0x08,0x08,0x08,0x56,0x34,0x12,0xaf]
354 v_fmac_f64_e32 v[4:5], 0xaf123456, v[4:5]
356 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
357 // GFX940: v_fmac_f64_e32 v[4:5], 0x3f717273, v[4:5] ; encoding: [0xff,0x08,0x08,0x08,0x73,0x72,0x71,0x3f]
358 v_fmac_f64_e32 v[4:5], 0x3f717273, v[4:5]
360 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
361 // GFX940: v_fmac_f64_e32 v[4:5], v[2:3], v[254:255] ; encoding: [0x02,0xfd,0x09,0x08]
362 v_fmac_f64_e32 v[4:5], v[2:3], v[254:255]
364 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
365 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x00]
366 v_fmac_f64_e64 v[4:5], v[2:3], v[8:9]
368 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
369 // GFX940: v_fmac_f64_e64 v[254:255], v[2:3], v[8:9] ; encoding: [0xfe,0x00,0x04,0xd1,0x02,0x11,0x02,0x00]
370 v_fmac_f64_e64 v[254:255], v[2:3], v[8:9]
372 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
373 // GFX940: v_fmac_f64_e64 v[4:5], v[254:255], v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0xfe,0x11,0x02,0x00]
374 v_fmac_f64_e64 v[4:5], v[254:255], v[8:9]
376 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
377 // GFX940: v_fmac_f64_e64 v[4:5], flat_scratch, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x66,0x10,0x02,0x00]
378 v_fmac_f64_e64 v[4:5], flat_scratch, v[8:9]
380 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
381 // GFX940: v_fmac_f64_e64 v[4:5], vcc, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x6a,0x10,0x02,0x00]
382 v_fmac_f64_e64 v[4:5], vcc, v[8:9]
384 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
385 // GFX940: v_fmac_f64_e64 v[4:5], exec, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x7e,0x10,0x02,0x00]
386 v_fmac_f64_e64 v[4:5], exec, v[8:9]
388 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
389 // GFX940: v_fmac_f64_e64 v[4:5], 0, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x80,0x10,0x02,0x00]
390 v_fmac_f64_e64 v[4:5], 0, v[8:9]
392 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
393 // GFX940: v_fmac_f64_e64 v[4:5], -1, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0xc1,0x10,0x02,0x00]
394 v_fmac_f64_e64 v[4:5], -1, v[8:9]
396 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
397 // GFX940: v_fmac_f64_e64 v[4:5], 0.5, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0xf0,0x10,0x02,0x00]
398 v_fmac_f64_e64 v[4:5], 0.5, v[8:9]
400 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
401 // GFX940: v_fmac_f64_e64 v[4:5], -4.0, v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0xf7,0x10,0x02,0x00]
402 v_fmac_f64_e64 v[4:5], -4.0, v[8:9]
404 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
405 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], v[254:255] ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xfd,0x03,0x00]
406 v_fmac_f64_e64 v[4:5], v[2:3], v[254:255]
408 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
409 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], flat_scratch ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xcd,0x00,0x00]
410 v_fmac_f64_e64 v[4:5], v[2:3], flat_scratch
412 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
413 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], vcc ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xd5,0x00,0x00]
414 v_fmac_f64_e64 v[4:5], v[2:3], vcc
416 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
417 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], exec ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xfd,0x00,0x00]
418 v_fmac_f64_e64 v[4:5], v[2:3], exec
420 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
421 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], 0 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x01,0x01,0x00]
422 v_fmac_f64_e64 v[4:5], v[2:3], 0
424 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
425 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], -1 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x83,0x01,0x00]
426 v_fmac_f64_e64 v[4:5], v[2:3], -1
428 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
429 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], 0.5 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xe1,0x01,0x00]
430 v_fmac_f64_e64 v[4:5], v[2:3], 0.5
432 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
433 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], -4.0 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0xef,0x01,0x00]
434 v_fmac_f64_e64 v[4:5], v[2:3], -4.0
436 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
437 // GFX940: v_fmac_f64_e64 v[4:5], -v[2:3], v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x20]
438 v_fmac_f64_e64 v[4:5], -v[2:3], v[8:9]
440 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
441 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], -v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x40]
442 v_fmac_f64_e64 v[4:5], v[2:3], -v[8:9]
444 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
445 // GFX940: v_fmac_f64_e64 v[4:5], -v[2:3], -v[8:9] ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x60]
446 v_fmac_f64_e64 v[4:5], -v[2:3], -v[8:9]
448 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
449 // GFX940: v_fmac_f64_e64 v[4:5], |v[2:3]|, v[8:9] ; encoding: [0x04,0x01,0x04,0xd1,0x02,0x11,0x02,0x00]
450 v_fmac_f64_e64 v[4:5], |v[2:3]|, v[8:9]
452 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
453 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], |v[8:9]| ; encoding: [0x04,0x02,0x04,0xd1,0x02,0x11,0x02,0x00]
454 v_fmac_f64_e64 v[4:5], v[2:3], |v[8:9]|
456 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
457 // GFX940: v_fmac_f64_e64 v[4:5], |v[2:3]|, |v[8:9]| ; encoding: [0x04,0x03,0x04,0xd1,0x02,0x11,0x02,0x00]
458 v_fmac_f64_e64 v[4:5], |v[2:3]|, |v[8:9]|
460 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
461 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] clamp ; encoding: [0x04,0x80,0x04,0xd1,0x02,0x11,0x02,0x00]
462 v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] clamp
464 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
465 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] mul:2 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x08]
466 v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] mul:2
468 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
469 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] mul:4 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x10]
470 v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] mul:4
472 // GFX10: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
473 // GFX940: v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] div:2 ; encoding: [0x04,0x00,0x04,0xd1,0x02,0x11,0x02,0x18]
474 v_fmac_f64_e64 v[4:5], v[2:3], v[8:9] div:2
476 // GFX90A: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
477 // GFX940: v_fmamk_f32 v0, v2, 0x42c80000, v3 ; encoding: [0x02,0x07,0x00,0x2e,0x00,0x00,0xc8,0x42]
478 v_fmamk_f32 v0, v2, 100.0, v3
480 // GFX90A: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
481 // GFX940: v_fmaak_f32 v0, v2, v3, 0x42c80000 ; encoding: [0x02,0x07,0x00,0x30,0x00,0x00,0xc8,0x42]
482 v_fmaak_f32 v0, v2, v3, 100.0
484 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
485 // GFX10: error: instruction not supported on this GPU
486 // GFX940: global_atomic_add_f32 v0, v[0:1], v2, off sc0 sc1 ; encoding: [0x00,0x80,0x35,0xdf,0x00,0x02,0x7f,0x00]
487 global_atomic_add_f32 v0, v[0:1], v2, off sc0 sc1
489 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
490 // GFX10: error: instruction not supported on this GPU
491 // GFX940: global_atomic_add_f32 v[0:1], v2, off sc1 ; encoding: [0x00,0x80,0x34,0xdf,0x00,0x02,0x7f,0x00]
492 global_atomic_add_f32 v[0:1], v2, off sc1
494 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
495 // GFX10: error: instruction not supported on this GPU
496 // GFX940: global_atomic_add_f32 v0, v2, s[0:1] sc1 ; encoding: [0x00,0x80,0x34,0xdf,0x00,0x02,0x00,0x00]
497 global_atomic_add_f32 v0, v2, s[0:1] sc1
499 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
500 // GFX10: error: instruction not supported on this GPU
501 // GFX940: global_atomic_add_f32 v1, v0, v2, s[0:1] sc0 sc1 ; encoding: [0x00,0x80,0x35,0xdf,0x00,0x02,0x00,0x01]
502 global_atomic_add_f32 v1, v0, v2, s[0:1] sc0 sc1
504 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
505 // GFX10: error: instruction not supported on this GPU
506 // GFX940: global_atomic_pk_add_f16 v0, v[0:1], v2, off sc0 sc1 ; encoding: [0x00,0x80,0x39,0xdf,0x00,0x02,0x7f,0x00]
507 global_atomic_pk_add_f16 v0, v[0:1], v2, off sc0 sc1
509 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
510 // GFX10: error: instruction not supported on this GPU
511 // GFX940: flat_atomic_add_f64 v[0:1], v[0:1], v[2:3] sc0 sc1 ; encoding: [0x00,0x00,0x3d,0xdf,0x00,0x02,0x00,0x00]
512 flat_atomic_add_f64 v[0:1], v[0:1], v[2:3] sc0 sc1
514 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
515 // GFX10: error: instruction not supported on this GPU
516 // GFX940: flat_atomic_add_f64 v[0:1], v[2:3] sc1 ; encoding: [0x00,0x00,0x3c,0xdf,0x00,0x02,0x00,0x00]
517 flat_atomic_add_f64 v[0:1], v[2:3] sc1
519 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
520 // GFX10: error: instruction not supported on this GPU
521 // GFX940: flat_atomic_min_f64 v[0:1], v[2:3] sc1 ; encoding: [0x00,0x00,0x40,0xdf,0x00,0x02,0x00,0x00]
522 flat_atomic_min_f64 v[0:1], v[2:3] sc1
524 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
525 // GFX10: error: instruction not supported on this GPU
526 // GFX940: flat_atomic_max_f64 v[0:1], v[2:3] sc1 ; encoding: [0x00,0x00,0x44,0xdf,0x00,0x02,0x00,0x00]
527 flat_atomic_max_f64 v[0:1], v[2:3] sc1
529 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
530 // GFX10: error: instruction not supported on this GPU
531 // GFX940: global_atomic_add_f64 v[0:1], v[2:3], off sc1 ; encoding: [0x00,0x80,0x3c,0xdf,0x00,0x02,0x7f,0x00]
532 global_atomic_add_f64 v[0:1], v[2:3], off sc1
534 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
535 // GFX10: error: instruction not supported on this GPU
536 // GFX940: global_atomic_min_f64 v[0:1], v[2:3], off sc1 ; encoding: [0x00,0x80,0x40,0xdf,0x00,0x02,0x7f,0x00]
537 global_atomic_min_f64 v[0:1], v[2:3], off sc1
539 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
540 // GFX10: error: instruction not supported on this GPU
541 // GFX940: global_atomic_max_f64 v[0:1], v[2:3], off sc1 ; encoding: [0x00,0x80,0x44,0xdf,0x00,0x02,0x7f,0x00]
542 global_atomic_max_f64 v[0:1], v[2:3], off sc1
544 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
545 // GFX10: error: instruction not supported on this GPU
546 // GFX940: buffer_atomic_add_f32 v4, off, s[8:11], s3 sc1 ; encoding: [0x00,0x80,0x34,0xe1,0x00,0x04,0x02,0x03]
547 buffer_atomic_add_f32 v4, off, s[8:11], s3 sc1
549 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
550 // GFX10: error: instruction not supported on this GPU
551 // GFX940: buffer_atomic_pk_add_f16 v4, off, s[8:11], s3 sc1 ; encoding: [0x00,0x80,0x38,0xe1,0x00,0x04,0x02,0x03]
552 buffer_atomic_pk_add_f16 v4, off, s[8:11], s3 sc1
554 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
555 // GFX10: error: instruction not supported on this GPU
556 // GFX940: buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 sc1 ; encoding: [0x00,0x80,0x3c,0xe1,0x00,0x04,0x02,0x03]
557 buffer_atomic_add_f64 v[4:5], off, s[8:11], s3 sc1
559 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
560 // GFX10: error: instruction not supported on this GPU
561 // GFX940: buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 sc1 ; encoding: [0x00,0x80,0x44,0xe1,0x00,0x04,0x02,0x03]
562 buffer_atomic_max_f64 v[4:5], off, s[8:11], s3 sc1
564 // GFX90A: :[[@LINE+3]]:{{[0-9]+}}: error: invalid operand for instruction
565 // GFX10: error: instruction not supported on this GPU
566 // GFX940: buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 sc1 ; encoding: [0x00,0x80,0x40,0xe1,0x00,0x04,0x02,0x03]
567 buffer_atomic_min_f64 v[4:5], off, s[8:11], s3 sc1
569 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
570 // GFX940: v_cvt_f32_bf8_e32 v1, s3 ; encoding: [0x03,0xaa,0x02,0x7e]
571 v_cvt_f32_bf8 v1, s3
573 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
574 // GFX940: v_cvt_f32_bf8_e32 v1, 3 ; encoding: [0x83,0xaa,0x02,0x7e]
575 v_cvt_f32_bf8 v1, 3
577 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
578 // GFX940: v_cvt_f32_bf8_e32 v1, v3 ; encoding: [0x03,0xab,0x02,0x7e]
579 v_cvt_f32_bf8 v1, v3
581 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
582 // GFX940: v_cvt_f32_bf8_sdwa v1, s3 src0_sel:BYTE_1 ; encoding: [0xf9,0xaa,0x02,0x7e,0x03,0x06,0x81,0x00]
583 v_cvt_f32_bf8 v1, s3 src0_sel:BYTE_1
585 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
586 // GFX940: v_cvt_f32_bf8_dpp v1, v3 quad_perm:[0,2,1,1] row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0xaa,0x02,0x7e,0x03,0x58,0x00,0xff]
587 v_cvt_f32_bf8 v1, v3 quad_perm:[0,2,1,1] row_mask:0xf bank_mask:0xf
589 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
590 // GFX940: v_cvt_f32_bf8_e64 v1, s3 mul:2 ; encoding: [0x01,0x00,0x95,0xd1,0x03,0x00,0x00,0x08]
591 v_cvt_f32_bf8 v1, s3 mul:2
593 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
594 // GFX940: v_cvt_f32_bf8_sdwa v1, s3 clamp mul:2 src0_sel:BYTE_1 ; encoding: [0xf9,0xaa,0x02,0x7e,0x03,0x66,0x81,0x00]
595 v_cvt_f32_bf8 v1, s3 clamp mul:2 src0_sel:BYTE_1
597 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
598 // GFX940: v_cvt_f32_bf8_e64 v1, s3 clamp ; encoding: [0x01,0x80,0x95,0xd1,0x03,0x00,0x00,0x00]
599 v_cvt_f32_bf8 v1, s3 clamp
601 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
602 // GFX940: v_cvt_f32_fp8_e32 v1, s3 ; encoding: [0x03,0xa8,0x02,0x7e]
603 v_cvt_f32_fp8 v1, s3
605 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
606 // GFX940: v_cvt_f32_fp8_e32 v1, 3 ; encoding: [0x83,0xa8,0x02,0x7e]
607 v_cvt_f32_fp8 v1, 3
609 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
610 // GFX940: v_cvt_f32_fp8_e32 v1, v3 ; encoding: [0x03,0xa9,0x02,0x7e]
611 v_cvt_f32_fp8 v1, v3
613 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
614 // GFX940: v_cvt_f32_fp8_sdwa v1, s3 src0_sel:BYTE_1 ; encoding: [0xf9,0xa8,0x02,0x7e,0x03,0x06,0x81,0x00]
615 v_cvt_f32_fp8 v1, s3 src0_sel:BYTE_1
617 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
618 // GFX940: v_cvt_f32_fp8_dpp v1, v3 quad_perm:[0,2,1,1] row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0xa8,0x02,0x7e,0x03,0x58,0x00,0xff]
619 v_cvt_f32_fp8 v1, v3 quad_perm:[0,2,1,1] row_mask:0xf bank_mask:0xf
621 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
622 // GFX940: v_cvt_f32_fp8_e64 v1, s3 mul:2 ; encoding: [0x01,0x00,0x94,0xd1,0x03,0x00,0x00,0x08]
623 v_cvt_f32_fp8 v1, s3 mul:2
625 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
626 // GFX940: v_cvt_f32_fp8_sdwa v1, s3 clamp mul:2 src0_sel:BYTE_1 ; encoding: [0xf9,0xa8,0x02,0x7e,0x03,0x66,0x81,0x00]
627 v_cvt_f32_fp8 v1, s3 clamp mul:2 src0_sel:BYTE_1
629 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
630 // GFX940: v_cvt_f32_fp8_e64 v1, s3 clamp ; encoding: [0x01,0x80,0x94,0xd1,0x03,0x00,0x00,0x00]
631 v_cvt_f32_fp8 v1, s3 clamp
633 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
634 // GFX940: v_cvt_f32_fp8_sdwa v1, 3 src0_sel:BYTE_1 ; encoding: [0xf9,0xa8,0x02,0x7e,0x83,0x06,0x81,0x00]
635 v_cvt_f32_fp8 v1, 3 src0_sel:BYTE_1
637 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
638 // GFX940: v_cvt_pk_f32_bf8_e32 v[2:3], s3 ; encoding: [0x03,0xae,0x04,0x7e]
639 v_cvt_pk_f32_bf8 v[2:3], s3
641 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
642 // GFX940: v_cvt_pk_f32_bf8_e32 v[2:3], 3 ; encoding: [0x83,0xae,0x04,0x7e]
643 v_cvt_pk_f32_bf8 v[2:3], 3
645 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
646 // GFX940: v_cvt_pk_f32_bf8_e32 v[2:3], v3 ; encoding: [0x03,0xaf,0x04,0x7e]
647 v_cvt_pk_f32_bf8 v[2:3], v3
649 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
650 // GFX940: v_cvt_pk_f32_bf8_sdwa v[2:3], s3 src0_sel:WORD_1 ; encoding: [0xf9,0xae,0x04,0x7e,0x03,0x06,0x85,0x00]
651 v_cvt_pk_f32_bf8 v[2:3], s3 src0_sel:WORD_1
653 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
654 // GFX940: v_cvt_pk_f32_bf8_dpp v[0:1], v3 row_newbcast:3 row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0xae,0x00,0x7e,0x03,0x53,0x01,0xff]
655 v_cvt_pk_f32_bf8 v[0:1], v3 row_newbcast:3
657 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
658 // GFX940: v_cvt_pk_f32_bf8_e64 v[2:3], s3 mul:2 ; encoding: [0x02,0x00,0x97,0xd1,0x03,0x00,0x00,0x08]
659 v_cvt_pk_f32_bf8 v[2:3], s3 mul:2
661 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
662 // GFX940: v_cvt_pk_f32_bf8_sdwa v[2:3], s3 clamp mul:2 src0_sel:WORD_1 ; encoding: [0xf9,0xae,0x04,0x7e,0x03,0x66,0x85,0x00]
663 v_cvt_pk_f32_bf8 v[2:3], s3 clamp mul:2 src0_sel:WORD_1
665 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
666 // GFX940: v_cvt_pk_f32_bf8_e64 v[2:3], s3 clamp ; encoding: [0x02,0x80,0x97,0xd1,0x03,0x00,0x00,0x00]
667 v_cvt_pk_f32_bf8 v[2:3], s3 clamp
669 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
670 // GFX940: v_cvt_pk_f32_fp8_e32 v[2:3], s3 ; encoding: [0x03,0xac,0x04,0x7e]
671 v_cvt_pk_f32_fp8 v[2:3], s3
673 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
674 // GFX940: v_cvt_pk_f32_fp8_e32 v[2:3], 3 ; encoding: [0x83,0xac,0x04,0x7e]
675 v_cvt_pk_f32_fp8 v[2:3], 3
677 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
678 // GFX940: v_cvt_pk_f32_fp8_e32 v[2:3], v3 ; encoding: [0x03,0xad,0x04,0x7e]
679 v_cvt_pk_f32_fp8 v[2:3], v3
681 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
682 // GFX940: v_cvt_pk_f32_fp8_sdwa v[2:3], s3 src0_sel:WORD_1 ; encoding: [0xf9,0xac,0x04,0x7e,0x03,0x06,0x85,0x00]
683 v_cvt_pk_f32_fp8 v[2:3], s3 src0_sel:WORD_1
685 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
686 // GFX940: v_cvt_pk_f32_fp8_sdwa v[2:3], 3 src0_sel:WORD_1 ; encoding: [0xf9,0xac,0x04,0x7e,0x83,0x06,0x85,0x00]
687 v_cvt_pk_f32_fp8 v[2:3], 3 src0_sel:WORD_1
689 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
690 // GFX940: v_cvt_pk_f32_fp8_dpp v[0:1], v3 row_newbcast:3 row_mask:0xf bank_mask:0xf ; encoding: [0xfa,0xac,0x00,0x7e,0x03,0x53,0x01,0xff]
691 v_cvt_pk_f32_fp8 v[0:1], v3 row_newbcast:3
693 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
694 // GFX940: v_cvt_pk_f32_fp8_e64 v[2:3], s3 mul:2 ; encoding: [0x02,0x00,0x96,0xd1,0x03,0x00,0x00,0x08]
695 v_cvt_pk_f32_fp8 v[2:3], s3 mul:2
697 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
698 // GFX940: v_cvt_pk_f32_fp8_sdwa v[2:3], s3 clamp mul:2 src0_sel:WORD_1 ; encoding: [0xf9,0xac,0x04,0x7e,0x03,0x66,0x85,0x00]
699 v_cvt_pk_f32_fp8 v[2:3], s3 clamp mul:2 src0_sel:WORD_1
701 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
702 // GFX940: v_cvt_pk_f32_fp8_e64 v[2:3], s3 clamp ; encoding: [0x02,0x80,0x96,0xd1,0x03,0x00,0x00,0x00]
703 v_cvt_pk_f32_fp8 v[2:3], s3 clamp
705 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
706 // GFX940: v_cvt_pk_bf8_f32 v1, v2, v3 ; encoding: [0x01,0x00,0xa3,0xd2,0x02,0x07,0x02,0x00]
707 v_cvt_pk_bf8_f32 v1, v2, v3
709 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
710 // GFX940: v_cvt_pk_bf8_f32 v1, -v2, |v3| ; encoding: [0x01,0x02,0xa3,0xd2,0x02,0x07,0x02,0x20]
711 v_cvt_pk_bf8_f32 v1, -v2, |v3|
713 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
714 // GFX940: v_cvt_pk_bf8_f32 v1, s2, 3 ; encoding: [0x01,0x00,0xa3,0xd2,0x02,0x06,0x01,0x00]
715 v_cvt_pk_bf8_f32 v1, s2, 3
717 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
718 // GFX940: v_cvt_pk_bf8_f32 v1, v2, v3 op_sel:[0,0,1] ; encoding: [0x01,0x40,0xa3,0xd2,0x02,0x07,0x02,0x00]
719 v_cvt_pk_bf8_f32 v1, v2, v3 op_sel:[0,0,1]
721 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
722 // GFX940: v_cvt_pk_fp8_f32 v1, v2, v3 ; encoding: [0x01,0x00,0xa2,0xd2,0x02,0x07,0x02,0x00]
723 v_cvt_pk_fp8_f32 v1, v2, v3
725 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
726 // GFX940: v_cvt_pk_fp8_f32 v1, -v2, |v3| ; encoding: [0x01,0x02,0xa2,0xd2,0x02,0x07,0x02,0x20]
727 v_cvt_pk_fp8_f32 v1, -v2, |v3|
729 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
730 // GFX940: v_cvt_pk_fp8_f32 v1, s2, 3 ; encoding: [0x01,0x00,0xa2,0xd2,0x02,0x06,0x01,0x00]
731 v_cvt_pk_fp8_f32 v1, s2, 3
733 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
734 // GFX940: v_cvt_pk_fp8_f32 v1, v2, v3 op_sel:[0,0,1] ; encoding: [0x01,0x40,0xa2,0xd2,0x02,0x07,0x02,0x00]
735 v_cvt_pk_fp8_f32 v1, v2, v3 op_sel:[0,0,1]
737 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
738 // GFX940: v_cvt_sr_bf8_f32 v1, v2, v3 ; encoding: [0x01,0x00,0xa5,0xd2,0x02,0x07,0x02,0x00]
739 v_cvt_sr_bf8_f32 v1, v2, v3
741 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
742 // GFX940: v_cvt_sr_bf8_f32 v1, s2, 3 ; encoding: [0x01,0x00,0xa5,0xd2,0x02,0x06,0x01,0x00]
743 v_cvt_sr_bf8_f32 v1, s2, 3
745 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
746 // GFX940: v_cvt_sr_bf8_f32 v1, v2, v3 op_sel:[0,0,1,1] ; encoding: [0x01,0x60,0xa5,0xd2,0x02,0x07,0x02,0x00]
747 v_cvt_sr_bf8_f32 v1, v2, v3 op_sel:[0,0,1,1]
749 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
750 // GFX940: v_cvt_sr_bf8_f32 v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x01,0x40,0xa5,0xd2,0x02,0x07,0x02,0x00]
751 v_cvt_sr_bf8_f32 v1, v2, v3 op_sel:[0,0,0,1]
753 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
754 // GFX940: v_cvt_sr_bf8_f32 v1, -|s2|, v3 ; encoding: [0x01,0x01,0xa5,0xd2,0x02,0x06,0x02,0x20]
755 v_cvt_sr_bf8_f32 v1, -|s2|, v3
757 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
758 // GFX940: v_cvt_sr_fp8_f32 v1, v2, v3 ; encoding: [0x01,0x00,0xa4,0xd2,0x02,0x07,0x02,0x00]
759 v_cvt_sr_fp8_f32 v1, v2, v3
761 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
762 // GFX940: v_cvt_sr_fp8_f32 v1, s2, 3 ; encoding: [0x01,0x00,0xa4,0xd2,0x02,0x06,0x01,0x00]
763 v_cvt_sr_fp8_f32 v1, s2, 3
765 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
766 // GFX940: v_cvt_sr_fp8_f32 v1, v2, v3 op_sel:[0,0,1,1] ; encoding: [0x01,0x60,0xa4,0xd2,0x02,0x07,0x02,0x00]
767 v_cvt_sr_fp8_f32 v1, v2, v3 op_sel:[0,0,1,1]
769 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
770 // GFX940: v_cvt_sr_fp8_f32 v1, v2, v3 op_sel:[0,0,0,1] ; encoding: [0x01,0x40,0xa4,0xd2,0x02,0x07,0x02,0x00]
771 v_cvt_sr_fp8_f32 v1, v2, v3 op_sel:[0,0,0,1]
773 // NOT-GFX940: :[[@LINE+2]]:{{[0-9]+}}: error: instruction not supported on this GPU
774 // GFX940: v_cvt_sr_fp8_f32 v1, -|s2|, v3 ; encoding: [0x01,0x01,0xa4,0xd2,0x02,0x06,0x02,0x20]
775 v_cvt_sr_fp8_f32 v1, -|s2|, v3