Mercurial > hg > CbC > CbC_llvm
comparison docs/AMDGPU/gfx7_waitcnt.rst @ 148:63bd29f05246
merged
author | Shinji KONO <kono@ie.u-ryukyu.ac.jp> |
---|---|
date | Wed, 14 Aug 2019 19:46:37 +0900 |
parents | c2174574ed3a |
children |
comparison
equal
deleted
inserted
replaced
146:3fc4d5c3e21e | 148:63bd29f05246 |
---|---|
1 .. | |
2 ************************************************** | |
3 * * | |
4 * Automatically generated file, do not edit! * | |
5 * * | |
6 ************************************************** | |
7 | |
8 .. _amdgpu_synid7_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 | |
19 ============ ====================================================== | |
20 3:0 VM_CNT: vector memory operations count. | |
21 6:4 EXP_CNT: export count. | |
22 12:8 LGKM_CNT: LDS, GDS, Constant and Message count. | |
23 ============ ====================================================== | |
24 | |
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: | |
27 | |
28 ====================== ====================================================================== | |
29 Syntax Description | |
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 ====================== ====================================================================== | |
38 | |
39 These helpers may be specified in any order. Ampersands and commas may be used as optional separators. | |
40 | |
41 *N* is either an | |
42 :ref:`integer number<amdgpu_synid_integer_number>` or an | |
43 :ref:`absolute expression<amdgpu_synid_absolute_expression>`. | |
44 | |
45 Examples: | |
46 | |
47 .. parsed-literal:: | |
48 | |
49 s_waitcnt 0 | |
50 s_waitcnt vmcnt(1) | |
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) | |
55 |