Skip to content

Commit ba7feaa

Browse files
authored
[AMDGPU][Docs] Fix and update AMDGPUUsage.rst (#133894)
- Fix notes about SALU float and src1 SGPRs for dpp instructions - Add split between gfx11 and gfx12 sections, update references.
1 parent 41b83b4 commit ba7feaa

File tree

1 file changed

+12
-9
lines changed

1 file changed

+12
-9
lines changed

llvm/docs/AMDGPUUsage.rst

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,8 @@ Every processor supports every OS ABI (see :ref:`amdgpu-os`) with the following
515515
work-item Add product
516516
IDs names.
517517

518+
**GCN GFX12 (RDNA 4)** [AMD-GCN-GFX12-RDNA4]_
519+
-----------------------------------------------------------------------------------------------------------------------
518520
``gfx1200`` ``amdgcn`` dGPU - cumode - Architected *TBA*
519521
- wavefrontsize64 flat
520522
scratch .. TODO::
@@ -619,18 +621,18 @@ Generic processor code objects are versioned. See :ref:`amdgpu-generic-processor
619621
SALU floating point instructions
620622
are not available on:
621623

622-
- ``gfx1150``
623-
- ``gfx1151``
624-
- ``gfx1152``
625-
- ``gfx1153``
624+
- ``gfx1100``
625+
- ``gfx1101``
626+
- ``gfx1102``
627+
- ``gfx1103``
626628

627629
SGPRs are not supported for src1
628630
in dpp instructions for:
629631

630-
- ``gfx1150``
631-
- ``gfx1151``
632-
- ``gfx1152``
633-
- ``gfx1153``
632+
- ``gfx1100``
633+
- ``gfx1101``
634+
- ``gfx1102``
635+
- ``gfx1103``
634636

635637

636638
``gfx12-generic`` ``amdgcn`` - ``gfx1200`` - wavefrontsize64 - Architected No restrictions.
@@ -17618,7 +17620,7 @@ combinations of operands, refer to one of instruction set architecture manuals
1761817620
[AMD-GCN-GFX900-GFX904-VEGA]_, [AMD-GCN-GFX906-VEGA7NM]_,
1761917621
[AMD-GCN-GFX908-CDNA1]_, [AMD-GCN-GFX90A-CDNA2]_,
1762017622
[AMD-GCN-GFX942-CDNA3]_, [AMD-GCN-GFX10-RDNA1]_, [AMD-GCN-GFX10-RDNA2]_,
17621-
[AMD-GCN-GFX11-RDNA3]_ and [AMD-GCN-GFX11-RDNA3.5]_.
17623+
[AMD-GCN-GFX11-RDNA3]_, [AMD-GCN-GFX11-RDNA3.5]_ and [AMD-GCN-GFX12-RDNA4]_.
1762217624

1762317625
Operands
1762417626
~~~~~~~~
@@ -18420,6 +18422,7 @@ Additional Documentation
1842018422
.. [AMD-GCN-GFX10-RDNA2] `AMD RDNA 2 Instruction Set Architecture <https://developer.amd.com/wp-content/resources/RDNA2_Shader_ISA_November2020.pdf>`__
1842118423
.. [AMD-GCN-GFX11-RDNA3] `AMD RDNA 3 Instruction Set Architecture <https://developer.amd.com/wp-content/resources/RDNA3_Shader_ISA_December2022.pdf>`__
1842218424
.. [AMD-GCN-GFX11-RDNA3.5] `AMD RDNA 3.5 Instruction Set Architecture <https://www.amd.com/content/dam/amd/en/documents/radeon-tech-docs/instruction-set-architectures/rdna35_instruction_set_architecture.pdf>`__
18425+
.. [AMD-GCN-GFX12-RDNA4] `AMD RDNA 4 Instruction Set Architecture <https://www.amd.com/content/dam/amd/en/documents/radeon-tech-docs/instruction-set-architectures/rdna4-instruction-set-architecture.pdf>`__
1842318426
.. [AMD-RADEON-HD-2000-3000] `AMD R6xx shader ISA <http://developer.amd.com/wordpress/media/2012/10/R600_Instruction_Set_Architecture.pdf>`__
1842418427
.. [AMD-RADEON-HD-4000] `AMD R7xx shader ISA <http://developer.amd.com/wordpress/media/2012/10/R700-Family_Instruction_Set_Architecture.pdf>`__
1842518428
.. [AMD-RADEON-HD-5000] `AMD Evergreen shader ISA <http://developer.amd.com/wordpress/media/2012/10/AMD_Evergreen-Family_Instruction_Set_Architecture.pdf>`__

0 commit comments

Comments
 (0)