You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: llvm/docs/AMDGPU/gfx10_bimm16.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,5 +10,5 @@
10
10
imm16
11
11
===========================
12
12
13
-
An :ref:`integer_number<amdgpu_synid_integer_number>`. The value is truncated to 16 bits.
13
+
A 16-bit :ref:`integer_number<amdgpu_synid_integer_number>` or an :ref:`absolute_expression<amdgpu_synid_absolute_expression>`. The value must be in the range -32768..65535.
Copy file name to clipboardExpand all lines: llvm/docs/AMDGPU/gfx10_bimm32.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,5 +10,5 @@
10
10
imm32
11
11
===========================
12
12
13
-
An :ref:`integer_number<amdgpu_synid_integer_number>`. The value is truncated to 32 bits.
13
+
An :ref:`integer_number<amdgpu_synid_integer_number>` or an :ref:`absolute_expression<amdgpu_synid_absolute_expression>`. The value is truncated to 32 bits.
Copy file name to clipboardExpand all lines: llvm/docs/AMDGPU/gfx10_data_mimg_atomic_cmp.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ Optionally may serve as an output data:
21
21
* :ref:`dmask<amdgpu_synid_dmask>` may specify 2 data elements for 32-bit-per-pixel surfaces or 4 data elements for 64-bit-per-pixel surfaces. Each data element occupies 1 dword.
22
22
* :ref:`tfe<amdgpu_synid_tfe>` adds 1 dword if specified.
23
23
24
-
Note. The surface data format is indicated in the image resource constant but not in the instruction.
24
+
Note: the surface data format is indicated in the image resource constant but not in the instruction.
Copy file name to clipboardExpand all lines: llvm/docs/AMDGPU/gfx10_data_mimg_atomic_reg.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,6 @@ Optionally may serve as an output data:
21
21
* :ref:`dmask<amdgpu_synid_dmask>` may specify 1 data element for 32-bit-per-pixel surfaces or 2 data elements for 64-bit-per-pixel surfaces. Each data element occupies 1 dword.
22
22
* :ref:`tfe<amdgpu_synid_tfe>` adds 1 dword if specified.
23
23
24
-
Note. The surface data format is indicated in the image resource constant but not in the instruction.
24
+
Note: the surface data format is indicated in the image resource constant but not in the instruction.
Copy file name to clipboardExpand all lines: llvm/docs/AMDGPU/gfx10_fimm16.rst
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,5 +10,6 @@
10
10
imm32
11
11
===========================
12
12
13
-
An :ref:`integer_number<amdgpu_synid_integer_number>` or a :ref:`floating-point_number<amdgpu_synid_floating-point_number>`. The number is converted to *f16* as described :ref:`here<amdgpu_synid_lit_conv>`.
13
+
A :ref:`floating-point_number<amdgpu_synid_floating-point_number>`, an :ref:`integer_number<amdgpu_synid_integer_number>`, or an :ref:`absolute_expression<amdgpu_synid_absolute_expression>`.
14
+
The value is converted to *f16* as described :ref:`here<amdgpu_synid_fp_conv>`.
Copy file name to clipboardExpand all lines: llvm/docs/AMDGPU/gfx10_fimm32.rst
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,5 +10,6 @@
10
10
imm32
11
11
===========================
12
12
13
-
An :ref:`integer_number<amdgpu_synid_integer_number>` or a :ref:`floating-point_number<amdgpu_synid_floating-point_number>`. The value is converted to *f32* as described :ref:`here<amdgpu_synid_lit_conv>`.
13
+
A :ref:`floating-point_number<amdgpu_synid_floating-point_number>`, an :ref:`integer_number<amdgpu_synid_integer_number>`, or an :ref:`absolute_expression<amdgpu_synid_absolute_expression>`.
14
+
The value is converted to *f32* as described :ref:`here<amdgpu_synid_fp_conv>`.
Copy file name to clipboardExpand all lines: llvm/docs/AMDGPU/gfx10_hwreg.rst
+24-11Lines changed: 24 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,26 +14,30 @@ Bits of a hardware register being accessed.
14
14
15
15
The bits of this operand have the following meaning:
16
16
17
-
============ ===================================
18
-
Bits Description
19
-
============ ===================================
20
-
5:0 Register *id*.
21
-
10:6 First bit *offset* (0..31).
22
-
15:11 *Size* in bits (1..32).
23
-
============ ===================================
17
+
======= =================================
18
+
Bits Description Value Range
19
+
======= =================================
20
+
5:0 Register *id*. 0..63
21
+
10:6 First bit *offset*. 0..31
22
+
15:11 *Size* in bits. 1..32
23
+
======= =================================
24
24
25
-
This operand may be specified as a positive 16-bit :ref:`integer_number<amdgpu_synid_integer_number>` or using the syntax described below.
25
+
This operand may be specified as one of the following:
26
+
27
+
* 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.
Copy file name to clipboardExpand all lines: llvm/docs/AMDGPU/gfx10_label.rst
+14-7Lines changed: 14 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,19 +12,26 @@ label
12
12
13
13
A branch target which is a 16-bit signed integer treated as a PC-relative dword offset.
14
14
15
-
This operand may be specified as:
15
+
This operand may be specified as one of the following:
16
16
17
-
* An :ref:`integer_number<amdgpu_synid_integer_number>`. The number is truncated to 16 bits.
18
-
* An :ref:`absolute_expression<amdgpu_synid_absolute_expression>` which must start with an :ref:`integer_number<amdgpu_synid_integer_number>`. The value of the expression is truncated to 16 bits.
19
-
* A :ref:`symbol<amdgpu_synid_symbol>` (for example, a label). The value is handled as a 16-bit PC-relative dword offset to be resolved by a linker.
17
+
* An :ref:`integer_number<amdgpu_synid_integer_number>` or an :ref:`absolute_expression<amdgpu_synid_absolute_expression>`. The value must be in the range -32768..65535.
18
+
* A :ref:`symbol<amdgpu_synid_symbol>` (for example, a label) representing a relocatable address in the same compilation unit where it is referred from. The value is handled as a 16-bit PC-relative dword offset to be resolved by a linker.
0 commit comments