1 // RUN
: not llvm-mc
-triple
=amdgcn
-mcpu
=gfx1100
%s
2>&1 | FileCheck
--check-prefixes
=NOGFX11
--implicit-check-
not=error
: %s
3 buffer_atomic_add_f32 v5
, v0
, null
, s3 idxen
4 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
6 buffer_atomic_add_u32 v5
, v0
, null
, s3 idxen
7 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
9 buffer_atomic_add_u64 v
[5:6], v0
, null
, s3 idxen
10 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
12 buffer_atomic_and_b32 v5
, v0
, null
, s3 idxen
13 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
15 buffer_atomic_and_b64 v
[5:6], v0
, null
, s3 idxen
16 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
18 buffer_atomic_cmpswap_b32 v
[5:6], v0
, null
, s3 idxen
19 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
21 buffer_atomic_cmpswap_b64 v
[5:8], v0
, null
, s3 idxen
22 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
24 buffer_atomic_cmpswap_f32 v
[5:6], v0
, null
, s3 idxen
25 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
27 buffer_atomic_csub_u32 v5
, v0
, null
, s3 idxen
28 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
30 buffer_atomic_dec_u32 v5
, v0
, null
, s3 idxen
31 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
33 buffer_atomic_dec_u64 v
[5:6], v0
, null
, s3 idxen
34 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
36 buffer_atomic_inc_u32 v5
, v0
, null
, s3 idxen
37 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
39 buffer_atomic_inc_u64 v
[5:6], v0
, null
, s3 idxen
40 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
42 buffer_atomic_max_f32 v5
, v0
, null
, s3 idxen
43 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
45 buffer_atomic_max_i32 v5
, v0
, null
, s3 idxen
46 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
48 buffer_atomic_max_i64 v
[5:6], v0
, null
, s3 idxen
49 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
51 buffer_atomic_max_u32 v5
, v0
, null
, s3 idxen
52 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
54 buffer_atomic_max_u64 v
[5:6], v0
, null
, s3 idxen
55 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
57 buffer_atomic_min_f32 v5
, v0
, null
, s3 idxen
58 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
60 buffer_atomic_min_i32 v5
, v0
, null
, s3 idxen
61 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
63 buffer_atomic_min_i64 v
[5:6], v0
, null
, s3 idxen
64 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
66 buffer_atomic_min_u32 v5
, v0
, null
, s3 idxen
67 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
69 buffer_atomic_min_u64 v
[5:6], v0
, null
, s3 idxen
70 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
72 buffer_atomic_or_b32 v5
, v0
, null
, s3 idxen
73 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
75 buffer_atomic_or_b64 v
[5:6], v0
, null
, s3 idxen
76 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
78 buffer_atomic_sub_u32 v5
, v0
, null
, s3 idxen
79 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
81 buffer_atomic_sub_u64 v
[5:6], v0
, null
, s3 idxen
82 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
84 buffer_atomic_swap_b32 v5
, v0
, null
, s3 idxen
85 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
87 buffer_atomic_swap_b64 v
[5:6], v0
, null
, s3 idxen
88 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
90 buffer_atomic_xor_b32 v5
, v0
, null
, s3 idxen
91 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
93 buffer_atomic_xor_b64 v
[5:6], v0
, null
, s3 idxen
94 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
96 buffer_load_b128 v
[5:8], v0
, null
, s3 offen offset
:4095
97 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
99 buffer_load_b32 v5
, v0
, null
, s3 offen offset
:4095
100 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
102 buffer_store_b64 v
[1:2], v0
, null
, s4 idxen offset
:4095
103 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
105 buffer_store_b96 v
[1:3], v0
, null
, s4 idxen offset
:4095
106 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
108 buffer_load_d16_b16 v5
, v0
, null
, s3 offen offset
:4095
109 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
111 buffer_load_d16_format_x v3
, v0
, null
, s1 offen offset
:4095
112 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
114 buffer_load_d16_format_xy v3
, v0
, null
, s1 offen offset
:4095
115 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
117 buffer_load_d16_format_xyz v
[3:4], v0
, null
, s1 offen offset
:4095
118 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
120 buffer_load_d16_format_xyzw v
[3:4], v0
, null
, s1 offen offset
:4095
121 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
123 buffer_load_d16_hi_b16 v3
, v0
, null
, s1 offen offset
:4095
124 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
126 buffer_load_d16_hi_format_x v3
, v0
, null
, s1 offen offset
:4095
127 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
129 buffer_load_d16_hi_i8 v3
, v0
, null
, s1 offen offset
:4095
130 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
132 buffer_load_d16_hi_u8 v3
, v0
, null
, s1 offen offset
:4095
133 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
135 buffer_load_d16_i8 v3
, v0
, null
, s1 offen offset
:4095
136 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
138 buffer_load_d16_u8 v3
, v0
, null
, s1 offen offset
:4095
139 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
141 buffer_load_format_x v3
, v0
, null
, s1 offen offset
:4095
142 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
144 buffer_load_format_xy v
[3:4], v0
, null
, s1 offen offset
:4095
145 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
147 buffer_load_format_xyz v
[3:5], v0
, null
, s1 offen offset
:4095
148 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
150 buffer_load_format_xyzw v
[3:6], v0
, null
, s1 offen offset
:4095
151 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
153 buffer_load_i16 v3
, v0
, null
, s1 offen offset
:4095
154 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
156 buffer_load_i8 v3
, v0
, null
, s1 offen offset
:4095
157 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
159 buffer_load_lds_b32 v3
, v0
, null
, s1 offen offset
:4095
160 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
162 buffer_load_lds_format_x v3
, v0
, null
, s1 offen offset
:4095
163 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
165 buffer_load_lds_i16 v3
, v0
, null
, s1 offen offset
:4095
166 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
168 buffer_load_lds_i8 v3
, v0
, null
, s1 offen offset
:4095
169 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
171 buffer_load_lds_u16 v3
, v0
, null
, s1 offen offset
:4095
172 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
174 buffer_load_lds_u8 v3
, v0
, null
, s1 offen offset
:4095
175 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
177 buffer_load_u16 v3
, v0
, null
, s1 offen offset
:4095
178 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
180 buffer_load_u8 v3
, v0
, null
, s1 offen offset
:4095
181 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
183 buffer_store_b16 v3
, v0
, null
, s1 offen offset
:4095
184 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
186 buffer_store_b32 v3
, v0
, null
, s1 offen offset
:4095
187 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
189 buffer_store_b64 v
[3:4], v0
, null
, s1 offen offset
:4095
190 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
192 buffer_store_b8 v3
, v0
, null
, s1 offen offset
:4095
193 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
195 buffer_store_b96 v
[3:5], v0
, null
, s1 offen offset
:4095
196 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
198 buffer_store_d16_format_x v3
, v0
, null
, s1 offen offset
:4095
199 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
201 buffer_store_d16_format_xy v3
, v0
, null
, s1 offen offset
:4095
202 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
204 buffer_store_d16_format_xyz v
[3:4], v0
, null
, s1 offen offset
:4095
205 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
207 buffer_store_d16_format_xyzw v
[3:4], v0
, null
, s1 offen offset
:4095
208 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
210 buffer_store_d16_hi_b16 v3
, v0
, null
, s1 offen offset
:4095
211 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
213 buffer_store_d16_hi_b8 v3
, v0
, null
, s1 offen offset
:4095
214 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
216 buffer_store_d16_hi_format_x v3
, v0
, null
, s1 offen offset
:4095
217 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
219 buffer_store_format_x v1
, v0
, null
, s1 offen offset
:4095
220 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
222 buffer_store_format_xy v
[1:2], v0
, null
, s1 offen offset
:4095
223 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
225 buffer_store_format_xyz v
[1:3], v0
, null
, s1 offen offset
:4095
226 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction
228 buffer_store_format_xyzw v
[1:4], v0
, null
, s1 offen offset
:4095
229 // NOGFX11
: :[[@LINE-
1]]:{{[0-9]+}}: error
: invalid operand for instruction