2 **************************************************
4 * Automatically generated file, do not edit! *
6 **************************************************
8 .. _amdgpu_synid8_waitcnt:
11 ===========================
13 Counts of outstanding instructions to wait for.
15 The bits of this operand have the following meaning:
17 ============ ======================================================
19 ============ ======================================================
20 3:0 VM_CNT: vector memory operations count.
21 6:4 EXP_CNT: export count.
22 11:8 LGKM_CNT: LDS, GDS, Constant and Message count.
23 ============ ======================================================
25 This operand may be specified as a positive 16-bit :ref:`integer_number<amdgpu_synid_integer_number>`
26 or as a combination of the following symbolic helpers:
28 ====================== ======================================================================
30 ====================== ======================================================================
31 vmcnt(<*N*>) VM_CNT value. *N* must not exceed the largest VM_CNT value.
32 expcnt(<*N*>) EXP_CNT value. *N* must not exceed the largest EXP_CNT value.
33 lgkmcnt(<*N*>) LGKM_CNT value. *N* must not exceed the largest LGKM_CNT value.
34 vmcnt_sat(<*N*>) VM_CNT value computed as min(*N*, the largest VM_CNT value).
35 expcnt_sat(<*N*>) EXP_CNT value computed as min(*N*, the largest EXP_CNT value).
36 lgkmcnt_sat(<*N*>) LGKM_CNT value computed as min(*N*, the largest LGKM_CNT value).
37 ====================== ======================================================================
39 These helpers may be specified in any order. Ampersands and commas may be used as optional separators.
42 :ref:`integer number<amdgpu_synid_integer_number>` or an
43 :ref:`absolute expression<amdgpu_synid_absolute_expression>`.
51 s_waitcnt expcnt(2) lgkmcnt(3)
52 s_waitcnt vmcnt(1) expcnt(2) lgkmcnt(3)
53 s_waitcnt vmcnt(1), expcnt(2), lgkmcnt(3)
54 s_waitcnt vmcnt(1) & lgkmcnt_sat(100) & expcnt(2)