@@ -286,24 +286,52 @@ def ROCDL_BarrierWaitOp : ROCDL_ConcreteNonMemIntrOp<"s.barrier.wait", [], 0, [0
286286
287287def ROCDL_WaitDscntOp: ROCDL_ConcreteNonMemIntrOp<"s.wait.dscnt", [], 0, [0], ["count"]>,
288288 Arguments<(ins I16Attr:$count)> {
289+ let summary = "Wait until DSCNT is less than or equal to `count`";
290+ let description = [{
291+ Wait for the counter specified to be less-than or equal-to the `count`
292+ before continuing
293+
294+ Available on gfx12+.
295+ }];
289296 let results = (outs);
290297 let assemblyFormat = "$count attr-dict";
291298}
292299
293300def ROCDL_WaitLoadcntOp: ROCDL_ConcreteNonMemIntrOp<"s.wait.loadcnt", [], 0, [0], ["count"]>,
294301 Arguments<(ins I16Attr:$count)> {
302+ let summary = "Wait until LOADCNT is less than or equal to `count`";
303+ let description = [{
304+ Wait for the counter specified to be less-than or equal-to the `count`
305+ before continuing
306+
307+ Available on gfx12+.
308+ }];
295309 let results = (outs);
296310 let assemblyFormat = "$count attr-dict";
297311}
298312
299313def ROCDL_WaitStorecntOp: ROCDL_ConcreteNonMemIntrOp<"s.wait.storecnt", [], 0, [0], ["count"]>,
300314 Arguments<(ins I16Attr:$count)> {
315+ let summary = "Wait until STORECNT is less than or equal to `count`";
316+ let description = [{
317+ Wait for the counter specified to be less-than or equal-to the `count`
318+ before continuing
319+
320+ Available on gfx12+.
321+ }];
301322 let results = (outs);
302323 let assemblyFormat = "$count attr-dict";
303324}
304325
305326def ROCDL_WaitExpcntOp: ROCDL_ConcreteNonMemIntrOp<"s.wait.expcnt", [], 0, [0], ["count"]>,
306327 Arguments<(ins I16Attr:$count)> {
328+ let summary = "Wait until EXPCNT is less than or equal to `count`";
329+ let description = [{
330+ Wait for the counter specified to be less-than or equal-to the `count`
331+ before continuing
332+
333+ Available on gfx12+.
334+ }];
307335 let results = (outs);
308336 let assemblyFormat = "$count attr-dict";
309337}
0 commit comments