4
4
// they don't depend on yet-unknown symbolic values.
5
5
6
6
.text
7
- // ASM: .text
8
7
9
8
.amdhsa_code_object_version 4
10
- // ASM: .amdhsa_code_object_version 4
11
9
12
10
.p2align 8
13
11
.type user_sgpr_count,@function
@@ -19,11 +17,10 @@ user_sgpr_count:
19
17
.amdhsa_next_free_vgpr 0
20
18
.amdhsa_next_free_sgpr 0
21
19
.amdhsa_accum_offset 4
20
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
22
21
.amdhsa_user_sgpr_count defined_boolean
23
22
.end_amdhsa_kernel
24
23
25
- // ASM: error: directive should have resolvable expression
26
- // ASM-NEXT: .amdhsa_user_sgpr_count
27
24
28
25
.p2align 8
29
26
.type user_sgpr_private_segment_buffer,@function
@@ -34,12 +31,10 @@ user_sgpr_private_segment_buffer:
34
31
.amdhsa_next_free_vgpr 0
35
32
.amdhsa_next_free_sgpr 0
36
33
.amdhsa_accum_offset 4
34
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
37
35
.amdhsa_user_sgpr_private_segment_buffer defined_boolean
38
36
.end_amdhsa_kernel
39
37
40
- // ASM: error: directive should have resolvable expression
41
- // ASM-NEXT: .amdhsa_user_sgpr_private_segment_buffer
42
-
43
38
.p2align 8
44
39
.type user_sgpr_kernarg_preload_length,@function
45
40
user_sgpr_kernarg_preload_length:
@@ -49,12 +44,10 @@ user_sgpr_kernarg_preload_length:
49
44
.amdhsa_next_free_vgpr 0
50
45
.amdhsa_next_free_sgpr 0
51
46
.amdhsa_accum_offset 4
47
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
52
48
.amdhsa_user_sgpr_kernarg_preload_length defined_boolean
53
49
.end_amdhsa_kernel
54
50
55
- // ASM: error: directive should have resolvable expression
56
- // ASM-NEXT: .amdhsa_user_sgpr_kernarg_preload_length defined_boolean
57
-
58
51
.p2align 8
59
52
.type user_sgpr_kernarg_preload_offset,@function
60
53
user_sgpr_kernarg_preload_offset:
@@ -64,12 +57,10 @@ user_sgpr_kernarg_preload_offset:
64
57
.amdhsa_next_free_vgpr 0
65
58
.amdhsa_next_free_sgpr 0
66
59
.amdhsa_accum_offset 4
60
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
67
61
.amdhsa_user_sgpr_kernarg_preload_offset defined_boolean
68
62
.end_amdhsa_kernel
69
63
70
- // ASM: error: directive should have resolvable expression
71
- // ASM-NEXT: .amdhsa_user_sgpr_kernarg_preload_offset defined_boolean
72
-
73
64
.p2align 8
74
65
.type user_sgpr_dispatch_ptr,@function
75
66
user_sgpr_dispatch_ptr:
@@ -80,12 +71,10 @@ user_sgpr_dispatch_ptr:
80
71
.amdhsa_next_free_vgpr 0
81
72
.amdhsa_next_free_sgpr 0
82
73
.amdhsa_accum_offset 4
74
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
83
75
.amdhsa_user_sgpr_dispatch_ptr defined_boolean
84
76
.end_amdhsa_kernel
85
77
86
- // ASM: error: directive should have resolvable expression
87
- // ASM-NEXT: .amdhsa_user_sgpr_dispatch_ptr
88
-
89
78
.p2align 8
90
79
.type user_sgpr_queue_ptr,@function
91
80
user_sgpr_queue_ptr:
@@ -96,12 +85,10 @@ user_sgpr_queue_ptr:
96
85
.amdhsa_next_free_vgpr 0
97
86
.amdhsa_next_free_sgpr 0
98
87
.amdhsa_accum_offset 4
88
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
99
89
.amdhsa_user_sgpr_queue_ptr defined_boolean
100
90
.end_amdhsa_kernel
101
91
102
- // ASM: error: directive should have resolvable expression
103
- // ASM-NEXT: .amdhsa_user_sgpr_queue_ptr
104
-
105
92
.p2align 8
106
93
.type user_sgpr_kernarg_segment_ptr,@function
107
94
user_sgpr_kernarg_segment_ptr:
@@ -112,12 +99,10 @@ user_sgpr_kernarg_segment_ptr:
112
99
.amdhsa_next_free_vgpr 0
113
100
.amdhsa_next_free_sgpr 0
114
101
.amdhsa_accum_offset 4
102
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
115
103
.amdhsa_user_sgpr_kernarg_segment_ptr defined_boolean
116
104
.end_amdhsa_kernel
117
105
118
- // ASM: error: directive should have resolvable expression
119
- // ASM-NEXT: .amdhsa_user_sgpr_kernarg_segment_ptr
120
-
121
106
.p2align 8
122
107
.type user_sgpr_dispatch_id,@function
123
108
user_sgpr_dispatch_id:
@@ -128,12 +113,10 @@ user_sgpr_dispatch_id:
128
113
.amdhsa_next_free_vgpr 0
129
114
.amdhsa_next_free_sgpr 0
130
115
.amdhsa_accum_offset 4
116
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
131
117
.amdhsa_user_sgpr_dispatch_id defined_boolean
132
118
.end_amdhsa_kernel
133
119
134
- // ASM: error: directive should have resolvable expression
135
- // ASM-NEXT: .amdhsa_user_sgpr_dispatch_id
136
-
137
120
.p2align 8
138
121
.type user_sgpr_flat_scratch_init,@function
139
122
user_sgpr_flat_scratch_init:
@@ -144,12 +127,10 @@ user_sgpr_flat_scratch_init:
144
127
.amdhsa_next_free_vgpr 0
145
128
.amdhsa_next_free_sgpr 0
146
129
.amdhsa_accum_offset 4
130
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
147
131
.amdhsa_user_sgpr_flat_scratch_init defined_boolean
148
132
.end_amdhsa_kernel
149
133
150
- // ASM: error: directive should have resolvable expression
151
- // ASM-NEXT: .amdhsa_user_sgpr_flat_scratch_init
152
-
153
134
.p2align 8
154
135
.type user_sgpr_private_segment_size,@function
155
136
user_sgpr_private_segment_size:
@@ -160,12 +141,10 @@ user_sgpr_private_segment_size:
160
141
.amdhsa_next_free_vgpr 0
161
142
.amdhsa_next_free_sgpr 0
162
143
.amdhsa_accum_offset 4
144
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
163
145
.amdhsa_user_sgpr_private_segment_size defined_boolean
164
146
.end_amdhsa_kernel
165
147
166
- // ASM: error: directive should have resolvable expression
167
- // ASM-NEXT: .amdhsa_user_sgpr_private_segment_size
168
-
169
148
.p2align 8
170
149
.type wavefront_size32,@function
171
150
wavefront_size32:
@@ -176,27 +155,23 @@ wavefront_size32:
176
155
.amdhsa_next_free_vgpr 0
177
156
.amdhsa_next_free_sgpr 0
178
157
.amdhsa_accum_offset 4
158
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
179
159
.amdhsa_wavefront_size32 defined_boolean
180
160
.end_amdhsa_kernel
181
161
182
- // ASM: error: directive should have resolvable expression
183
- // ASM-NEXT: .amdhsa_wavefront_size32
184
-
185
162
.p2align 8
186
163
.type next_free_vgpr,@function
187
164
next_free_vgpr:
188
165
s_endpgm
189
166
190
167
.p2align 6
191
168
.amdhsa_kernel next_free_vgpr
169
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
192
170
.amdhsa_next_free_vgpr defined_boolean
193
171
.amdhsa_next_free_sgpr 0
194
172
.amdhsa_accum_offset 4
195
173
.end_amdhsa_kernel
196
174
197
- // ASM: error: directive should have resolvable expression
198
- // ASM-NEXT: .amdhsa_next_free_vgpr
199
-
200
175
.p2align 8
201
176
.type next_free_sgpr,@function
202
177
next_free_sgpr:
@@ -205,13 +180,11 @@ next_free_sgpr:
205
180
.p2align 6
206
181
.amdhsa_kernel next_free_sgpr
207
182
.amdhsa_next_free_vgpr 0
183
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
208
184
.amdhsa_next_free_sgpr defined_boolean
209
185
.amdhsa_accum_offset 4
210
186
.end_amdhsa_kernel
211
187
212
- // ASM: error: directive should have resolvable expression
213
- // ASM-NEXT: .amdhsa_next_free_sgpr
214
-
215
188
.p2align 8
216
189
.type accum_offset,@function
217
190
accum_offset:
@@ -221,12 +194,10 @@ accum_offset:
221
194
.amdhsa_kernel accum_offset
222
195
.amdhsa_next_free_vgpr 0
223
196
.amdhsa_next_free_sgpr 0
197
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
224
198
.amdhsa_accum_offset defined_boolean
225
199
.end_amdhsa_kernel
226
200
227
- // ASM: error: directive should have resolvable expression
228
- // ASM-NEXT: .amdhsa_accum_offset
229
-
230
201
.p2align 8
231
202
.type reserve_vcc,@function
232
203
reserve_vcc:
@@ -237,12 +208,10 @@ reserve_vcc:
237
208
.amdhsa_next_free_vgpr 0
238
209
.amdhsa_next_free_sgpr 0
239
210
.amdhsa_accum_offset 4
211
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
240
212
.amdhsa_reserve_vcc defined_boolean
241
213
.end_amdhsa_kernel
242
214
243
- // ASM: error: directive should have resolvable expression
244
- // ASM-NEXT: .amdhsa_reserve_vcc
245
-
246
215
.p2align 8
247
216
.type reserve_flat_scratch,@function
248
217
reserve_flat_scratch:
@@ -253,12 +222,10 @@ reserve_flat_scratch:
253
222
.amdhsa_next_free_vgpr 0
254
223
.amdhsa_next_free_sgpr 0
255
224
.amdhsa_accum_offset 4
225
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
256
226
.amdhsa_reserve_flat_scratch defined_boolean
257
227
.end_amdhsa_kernel
258
228
259
- // ASM: error: directive should have resolvable expression
260
- // ASM-NEXT: .amdhsa_reserve_flat_scratch
261
-
262
229
.p2align 8
263
230
.type shared_vgpr_count,@function
264
231
shared_vgpr_count:
@@ -269,13 +236,8 @@ shared_vgpr_count:
269
236
.amdhsa_next_free_vgpr 0
270
237
.amdhsa_next_free_sgpr 0
271
238
.amdhsa_accum_offset 4
239
+ // ASM: :[[@LINE+1]]:{{[0-9]+}}: error: directive should have resolvable expression
272
240
.amdhsa_shared_vgpr_count defined_boolean
273
241
.end_amdhsa_kernel
274
242
275
- // ASM: error: directive should have resolvable expression
276
- // ASM-NEXT: .amdhsa_shared_vgpr_count
277
-
278
243
.set defined_boolean, 1
279
-
280
- // ASM: .set defined_boolean, 1
281
- // ASM-NEXT: .no_dead_strip defined_boolean
0 commit comments