[llvm] 02b1c3f - [AMDGPU][MC][NFC][DOC] Updated AMD GPU assembler syntax description.

Dmitry Preobrazhensky via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 6 05:55:32 PDT 2021


Author: Dmitry Preobrazhensky
Date: 2021-08-06T15:52:26+03:00
New Revision: 02b1c3f0529e525a4ffa671478050f4704b3f472

URL: https://github.com/llvm/llvm-project/commit/02b1c3f0529e525a4ffa671478050f4704b3f472
DIFF: https://github.com/llvm/llvm-project/commit/02b1c3f0529e525a4ffa671478050f4704b3f472.diff

LOG: [AMDGPU][MC][NFC][DOC] Updated AMD GPU assembler syntax description.

Corrected sendmsg description (bug https://bugs.llvm.org/show_bug.cgi?id=49648).

Added: 
    

Modified: 
    llvm/docs/AMDGPU/gfx10_msg.rst
    llvm/docs/AMDGPU/gfx8_msg.rst
    llvm/docs/AMDGPU/gfx90a_msg.rst
    llvm/docs/AMDGPU/gfx9_msg.rst

Removed: 
    


################################################################################
diff  --git a/llvm/docs/AMDGPU/gfx10_msg.rst b/llvm/docs/AMDGPU/gfx10_msg.rst
index 3e6c532dd85a8..c0774d85a62ec 100644
--- a/llvm/docs/AMDGPU/gfx10_msg.rst
+++ b/llvm/docs/AMDGPU/gfx10_msg.rst
@@ -47,24 +47,29 @@ or :ref:`absolute expressions<amdgpu_synid_absolute_expression>`.
 
 Each message type supports specific operations:
 
-    ================= ========== ============================== ============ ==========
-    Message name      Message Id Supported Operations           Operation Id Stream Id
-    ================= ========== ============================== ============ ==========
-    MSG_INTERRUPT     1          \-                             \-           \-
-    MSG_GS            2          GS_OP_CUT                      1            Optional
-    \                            GS_OP_EMIT                     2            Optional
-    \                            GS_OP_EMIT_CUT                 3            Optional
-    MSG_GS_DONE       3          GS_OP_NOP                      0            \-
-    \                            GS_OP_CUT                      1            Optional
-    \                            GS_OP_EMIT                     2            Optional
-    \                            GS_OP_EMIT_CUT                 3            Optional
-    MSG_GS_ALLOC_REQ  9          \-                             \-           \-
-    MSG_GET_DOORBELL  10         \-                             \-           \-
-    MSG_SYSMSG        15         SYSMSG_OP_ECC_ERR_INTERRUPT    1            \-
-    \                            SYSMSG_OP_REG_RD               2            \-
-    \                            SYSMSG_OP_HOST_TRAP_ACK        3            \-
-    \                            SYSMSG_OP_TTRACE_PC            4            \-
-    ================= ========== ============================== ============ ==========
+    =================== ========== ============================== ============ ==========
+    Message name        Message Id Supported Operations           Operation Id Stream Id
+    =================== ========== ============================== ============ ==========
+    MSG_INTERRUPT       1          \-                             \-           \-
+    MSG_GS              2          GS_OP_CUT                      1            Optional
+    \                              GS_OP_EMIT                     2            Optional
+    \                              GS_OP_EMIT_CUT                 3            Optional
+    MSG_GS_DONE         3          GS_OP_NOP                      0            \-
+    \                              GS_OP_CUT                      1            Optional
+    \                              GS_OP_EMIT                     2            Optional
+    \                              GS_OP_EMIT_CUT                 3            Optional
+    MSG_SAVEWAVE        4          \-                             \-           \-
+    MSG_STALL_WAVE_GEN  5          \-                             \-           \-
+    MSG_HALT_WAVES      6          \-                             \-           \-
+    MSG_ORDERED_PS_DONE 7          \-                             \-           \-
+    MSG_GS_ALLOC_REQ    9          \-                             \-           \-
+    MSG_GET_DOORBELL    10         \-                             \-           \-
+    MSG_GET_DDID        11         \-                             \-           \-
+    MSG_SYSMSG          15         SYSMSG_OP_ECC_ERR_INTERRUPT    1            \-
+    \                              SYSMSG_OP_REG_RD               2            \-
+    \                              SYSMSG_OP_HOST_TRAP_ACK        3            \-
+    \                              SYSMSG_OP_TTRACE_PC            4            \-
+    =================== ========== ============================== ============ ==========
 
 *Sendmsg* arguments are validated depending on how *type* value is specified:
 

diff  --git a/llvm/docs/AMDGPU/gfx8_msg.rst b/llvm/docs/AMDGPU/gfx8_msg.rst
index 0b0b2f3074820..f32033dd944c8 100644
--- a/llvm/docs/AMDGPU/gfx8_msg.rst
+++ b/llvm/docs/AMDGPU/gfx8_msg.rst
@@ -58,6 +58,7 @@ Each message type supports specific operations:
     \                            GS_OP_CUT                      1            Optional
     \                            GS_OP_EMIT                     2            Optional
     \                            GS_OP_EMIT_CUT                 3            Optional
+    MSG_SAVEWAVE      4          \-                             \-           \-
     MSG_SYSMSG        15         SYSMSG_OP_ECC_ERR_INTERRUPT    1            \-
     \                            SYSMSG_OP_REG_RD               2            \-
     \                            SYSMSG_OP_HOST_TRAP_ACK        3            \-

diff  --git a/llvm/docs/AMDGPU/gfx90a_msg.rst b/llvm/docs/AMDGPU/gfx90a_msg.rst
index aa44d3b64f49e..37f945464e58a 100644
--- a/llvm/docs/AMDGPU/gfx90a_msg.rst
+++ b/llvm/docs/AMDGPU/gfx90a_msg.rst
@@ -47,24 +47,29 @@ or :ref:`absolute expressions<amdgpu_synid_absolute_expression>`.
 
 Each message type supports specific operations:
 
-    ================= ========== ============================== ============ ==========
-    Message name      Message Id Supported Operations           Operation Id Stream Id
-    ================= ========== ============================== ============ ==========
-    MSG_INTERRUPT     1          \-                             \-           \-
-    MSG_GS            2          GS_OP_CUT                      1            Optional
-    \                            GS_OP_EMIT                     2            Optional
-    \                            GS_OP_EMIT_CUT                 3            Optional
-    MSG_GS_DONE       3          GS_OP_NOP                      0            \-
-    \                            GS_OP_CUT                      1            Optional
-    \                            GS_OP_EMIT                     2            Optional
-    \                            GS_OP_EMIT_CUT                 3            Optional
-    MSG_GS_ALLOC_REQ  9          \-                             \-           \-
-    MSG_GET_DOORBELL  10         \-                             \-           \-
-    MSG_SYSMSG        15         SYSMSG_OP_ECC_ERR_INTERRUPT    1            \-
-    \                            SYSMSG_OP_REG_RD               2            \-
-    \                            SYSMSG_OP_HOST_TRAP_ACK        3            \-
-    \                            SYSMSG_OP_TTRACE_PC            4            \-
-    ================= ========== ============================== ============ ==========
+    ====================== ========== ============================== ============ ==========
+    Message name           Message Id Supported Operations           Operation Id Stream Id
+    ====================== ========== ============================== ============ ==========
+    MSG_INTERRUPT          1          \-                             \-           \-
+    MSG_GS                 2          GS_OP_CUT                      1            Optional
+    \                                 GS_OP_EMIT                     2            Optional
+    \                                 GS_OP_EMIT_CUT                 3            Optional
+    MSG_GS_DONE            3          GS_OP_NOP                      0            \-
+    \                                 GS_OP_CUT                      1            Optional
+    \                                 GS_OP_EMIT                     2            Optional
+    \                                 GS_OP_EMIT_CUT                 3            Optional
+    MSG_SAVEWAVE           4          \-                             \-           \-
+    MSG_STALL_WAVE_GEN     5          \-                             \-           \-
+    MSG_HALT_WAVES         6          \-                             \-           \-
+    MSG_ORDERED_PS_DONE    7          \-                             \-           \-
+    MSG_EARLY_PRIM_DEALLOC 8          \-                             \-           \-
+    MSG_GS_ALLOC_REQ       9          \-                             \-           \-
+    MSG_GET_DOORBELL       10         \-                             \-           \-
+    MSG_SYSMSG             15         SYSMSG_OP_ECC_ERR_INTERRUPT    1            \-
+    \                                 SYSMSG_OP_REG_RD               2            \-
+    \                                 SYSMSG_OP_HOST_TRAP_ACK        3            \-
+    \                                 SYSMSG_OP_TTRACE_PC            4            \-
+    ====================== ========== ============================== ============ ==========
 
 *Sendmsg* arguments are validated depending on how *type* value is specified:
 

diff  --git a/llvm/docs/AMDGPU/gfx9_msg.rst b/llvm/docs/AMDGPU/gfx9_msg.rst
index efb95e5a97db0..34be1c8a24c52 100644
--- a/llvm/docs/AMDGPU/gfx9_msg.rst
+++ b/llvm/docs/AMDGPU/gfx9_msg.rst
@@ -47,24 +47,29 @@ or :ref:`absolute expressions<amdgpu_synid_absolute_expression>`.
 
 Each message type supports specific operations:
 
-    ================= ========== ============================== ============ ==========
-    Message name      Message Id Supported Operations           Operation Id Stream Id
-    ================= ========== ============================== ============ ==========
-    MSG_INTERRUPT     1          \-                             \-           \-
-    MSG_GS            2          GS_OP_CUT                      1            Optional
-    \                            GS_OP_EMIT                     2            Optional
-    \                            GS_OP_EMIT_CUT                 3            Optional
-    MSG_GS_DONE       3          GS_OP_NOP                      0            \-
-    \                            GS_OP_CUT                      1            Optional
-    \                            GS_OP_EMIT                     2            Optional
-    \                            GS_OP_EMIT_CUT                 3            Optional
-    MSG_GS_ALLOC_REQ  9          \-                             \-           \-
-    MSG_GET_DOORBELL  10         \-                             \-           \-
-    MSG_SYSMSG        15         SYSMSG_OP_ECC_ERR_INTERRUPT    1            \-
-    \                            SYSMSG_OP_REG_RD               2            \-
-    \                            SYSMSG_OP_HOST_TRAP_ACK        3            \-
-    \                            SYSMSG_OP_TTRACE_PC            4            \-
-    ================= ========== ============================== ============ ==========
+    ====================== ========== ============================== ============ ==========
+    Message name           Message Id Supported Operations           Operation Id Stream Id
+    ====================== ========== ============================== ============ ==========
+    MSG_INTERRUPT          1          \-                             \-           \-
+    MSG_GS                 2          GS_OP_CUT                      1            Optional
+    \                                 GS_OP_EMIT                     2            Optional
+    \                                 GS_OP_EMIT_CUT                 3            Optional
+    MSG_GS_DONE            3          GS_OP_NOP                      0            \-
+    \                                 GS_OP_CUT                      1            Optional
+    \                                 GS_OP_EMIT                     2            Optional
+    \                                 GS_OP_EMIT_CUT                 3            Optional
+    MSG_SAVEWAVE           4          \-                             \-           \-
+    MSG_STALL_WAVE_GEN     5          \-                             \-           \-
+    MSG_HALT_WAVES         6          \-                             \-           \-
+    MSG_ORDERED_PS_DONE    7          \-                             \-           \-
+    MSG_EARLY_PRIM_DEALLOC 8          \-                             \-           \-
+    MSG_GS_ALLOC_REQ       9          \-                             \-           \-
+    MSG_GET_DOORBELL       10         \-                             \-           \-
+    MSG_SYSMSG             15         SYSMSG_OP_ECC_ERR_INTERRUPT    1            \-
+    \                                 SYSMSG_OP_REG_RD               2            \-
+    \                                 SYSMSG_OP_HOST_TRAP_ACK        3            \-
+    \                                 SYSMSG_OP_TTRACE_PC            4            \-
+    ====================== ========== ============================== ============ ==========
 
 *Sendmsg* arguments are validated depending on how *type* value is specified:
 


        


More information about the llvm-commits mailing list