brintos

brintos / llvm-project-archived public Read only

0
0
Text · 2.5 KiB · 4541222 Raw
56 lines · plain
1..2    **************************************************3    *                                                *4    *   Automatically generated file, do not edit!   *5    *                                                *6    **************************************************7 8.. _amdgpu_synid_waitcnt:9 10waitcnt11=======12 13Counts of outstanding instructions to wait for.14 15The bits of this operand have the following meaning:16 17   ===== ================================================ ============18   Bits  Description                                      Value Range19   ===== ================================================ ============20   2:0   EXP_CNT: export and LDSDIR count.                0..721   3:3   Unused                                           \-22   9:4   LGKM_CNT: LDS, GDS, Constant and Message count.  0..6323   15:10 VM_CNT: vector memory operations count.          0..6324   ===== ================================================ ============25 26This 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                 Description33    ====================== ======================================================================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 42These values may be specified in any order. Spaces, ampersands and commas may be used as optional separators.43 44*N* is either an45:ref:`integer number<amdgpu_synid_integer_number>` or an46:ref:`absolute expression<amdgpu_synid_absolute_expression>`.47 48Examples: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)56