Debian Codegraph @

llvm/docs/AMDGPU/gfx12_waitcnt.rst

raw
1 ..
2 **************************************************
3 * *
4 * Automatically generated file, do not edit! *
5 * *
6 **************************************************
7
8 .. _amdgpu_synid_waitcnt:
9
10 waitcnt
11 =======
12
13 Counts of outstanding instructions to wait for.
14
15 The bits of this operand have the following meaning:
16
17 ===== ================================================ ============
18 Bits Description Value Range
19 ===== ================================================ ============
20 2:0 EXP_CNT: export and LDSDIR count. 0..7
21 3:3 Unused \-
22 9:4 LGKM_CNT: LDS, GDS, Constant and Message count. 0..63
23 15:10 VM_CNT: vector memory operations count. 0..63
24 ===== ================================================ ============
25
26 This operand may be specified as one of the following:
27
28 * An :ref:`integer_number<amdgpu_synid_integer_number>` or an :ref:`absolute_expression<amdgpu_synid_absolute_expression>`. The value must be in the range 0..0xFFFF.
29 * A combination of *vmcnt*, *expcnt*, *lgkmcnt* and other values described below.
30
31 ====================== ======================================================================
32 Syntax Description
33 ====================== ======================================================================
34 vmcnt(<*N*>) A VM_CNT value. *N* must not exceed the largest VM_CNT value.
35 expcnt(<*N*>) An EXP_CNT value. *N* must not exceed the largest EXP_CNT value.
36 lgkmcnt(<*N*>) An LGKM_CNT value. *N* must not exceed the largest LGKM_CNT value.
37 vmcnt_sat(<*N*>) A VM_CNT value computed as min(*N*, the largest VM_CNT value).
38 expcnt_sat(<*N*>) An EXP_CNT value computed as min(*N*, the largest EXP_CNT value).
39 lgkmcnt_sat(<*N*>) An LGKM_CNT value computed as min(*N*, the largest LGKM_CNT value).
40 ====================== ======================================================================
41
42 These values may be specified in any order. Spaces, ampersands and commas may be used as optional separators.
43
44 *N* is either an
45 :ref:`integer number<amdgpu_synid_integer_number>` or an
46 :ref:`absolute expression<amdgpu_synid_absolute_expression>`.
47
48 Examples:
49
50 .. parsed-literal::
51
52 s_waitcnt vmcnt(1)
53 s_waitcnt expcnt(2) lgkmcnt(3)
54 s_waitcnt vmcnt(1), expcnt(2), lgkmcnt(3)
55 s_waitcnt vmcnt(1) & lgkmcnt_sat(100) & expcnt(2)