diff options
author | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2018-12-28 11:48:23 +0000 |
---|---|---|
committer | Dmitry Preobrazhensky <dmitry.preobrazhensky@amd.com> | 2018-12-28 11:48:23 +0000 |
commit | ddac5c9ba5a89bed8942ce02bafbcceca92f59d8 (patch) | |
tree | 3552e012d591e255efcddbcc8d98c72758e7dec3 /llvm/docs/AMDGPUModifierSyntax.rst | |
parent | 8f70c9bf49fe56d34c8c176ec5c565acf7cbdfc9 (diff) | |
download | bcm5719-llvm-ddac5c9ba5a89bed8942ce02bafbcceca92f59d8.tar.gz bcm5719-llvm-ddac5c9ba5a89bed8942ce02bafbcceca92f59d8.zip |
[AMDGPU][MC][DOC] Updated AMD GPU assembler description.
Minor bugfixing and improvements.
See bug 36572: https://bugs.llvm.org/show_bug.cgi?id=36572
llvm-svn: 350120
Diffstat (limited to 'llvm/docs/AMDGPUModifierSyntax.rst')
-rw-r--r-- | llvm/docs/AMDGPUModifierSyntax.rst | 46 |
1 files changed, 23 insertions, 23 deletions
diff --git a/llvm/docs/AMDGPUModifierSyntax.rst b/llvm/docs/AMDGPUModifierSyntax.rst index e2b8bb3f952..1a555b67832 100644 --- a/llvm/docs/AMDGPUModifierSyntax.rst +++ b/llvm/docs/AMDGPUModifierSyntax.rst @@ -27,8 +27,8 @@ DS Modifiers .. _amdgpu_synid_ds_offset8: -ds_offset8 -~~~~~~~~~~ +offset8 +~~~~~~~ Specifies an immediate unsigned 8-bit offset, in bytes. The default value is 0. @@ -50,8 +50,8 @@ Examples: .. _amdgpu_synid_ds_offset16: -ds_offset16 -~~~~~~~~~~~ +offset16 +~~~~~~~~ Specifies an immediate unsigned 16-bit offset, in bytes. The default value is 0. @@ -73,8 +73,8 @@ Examples: .. _amdgpu_synid_sw_offset16: -sw_offset16 -~~~~~~~~~~~ +pattern +~~~~~~~ This is a special modifier which may be used with *ds_swizzle_b32* instruction only. It specifies a swizzle pattern in numeric or symbolic form. The default value is 0. @@ -205,8 +205,8 @@ FLAT Modifiers .. _amdgpu_synid_flat_offset12: -flat_offset12 -~~~~~~~~~~~~~ +offset12 +~~~~~~~~ Specifies an immediate unsigned 12-bit offset, in bytes. The default value is 0. @@ -226,10 +226,10 @@ Examples: offset:4095 offset:0xff -.. _amdgpu_synid_flat_offset13: +.. _amdgpu_synid_flat_offset13s: -flat_offset13 -~~~~~~~~~~~~~ +offset13s +~~~~~~~~~ Specifies an immediate signed 13-bit offset, in bytes. The default value is 0. @@ -238,7 +238,7 @@ Can be used with *global/scratch* opcodes only. GFX9 only. ============================ ======================================================= Syntax Description ============================ ======================================================= - offset:{-4096..+4095} Specifies a 13-bit signed offset as an + offset:{-4096..4095} Specifies a 13-bit signed offset as an :ref:`integer number <amdgpu_synid_integer_number>`. ============================ ======================================================= @@ -353,7 +353,7 @@ GFX7 and GFX8 only. r128 Specifies 128 bits texture resource size. =================== ================================================ -.. WARNING:: Using this modifier should descrease *rsrc* register size from 8 to 4 dwords, but assembler does not currently support this feature. +.. WARNING:: Using this modifier should descrease *rsrc* operand size from 8 to 4 dwords, but assembler does not currently support this feature. tfe ~~~ @@ -545,8 +545,8 @@ GFX7 only. Cannot be used with :ref:`offen<amdgpu_synid_offen>` and .. _amdgpu_synid_buf_offset12: -buf_offset12 -~~~~~~~~~~~~ +offset12 +~~~~~~~~ Specifies an immediate unsigned 12-bit offset, in bytes. The default value is 0. @@ -889,8 +889,8 @@ VOP3 Modifiers .. _amdgpu_synid_vop3_op_sel: -vop3_op_sel -~~~~~~~~~~~ +op_sel +~~~~~~ Selects the low [15:0] or high [31:16] operand bits for source and destination operands. By default, low bits are used for all operands. @@ -1177,11 +1177,11 @@ GFX9 only. .. _amdgpu_synid_mad_mix_op_sel: -mad_mix_op_sel -~~~~~~~~~~~~~~ +m_op_sel +~~~~~~~~ This operand has meaning only for 16-bit source operands as indicated by -:ref:`mad_mix_op_sel_hi<amdgpu_synid_mad_mix_op_sel_hi>`. +:ref:`m_op_sel_hi<amdgpu_synid_mad_mix_op_sel_hi>`. It specifies to select either the low [15:0] or high [31:16] operand bits as input to the operation. @@ -1206,8 +1206,8 @@ Examples: .. _amdgpu_synid_mad_mix_op_sel_hi: -mad_mix_op_sel_hi -~~~~~~~~~~~~~~~~~ +m_op_sel_hi +~~~~~~~~~~~ Selects the size of source operands: either 32 bits or 16 bits. By default, 32 bits are used for all source operands. @@ -1218,7 +1218,7 @@ operands. First value controls src0, second value controls src1 and so on. The value 0 indicates 32 bits, the value 1 indicates 16 bits. The location of 16 bits in the operand may be specified by -:ref:`mad_mix_op_sel<amdgpu_synid_mad_mix_op_sel>`. +:ref:`m_op_sel<amdgpu_synid_mad_mix_op_sel>`. ======================================== ==================================== Syntax Description |