[llvm] c6d304a - [docs][RISCV] Add links to respective notes
Philip Reames via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 8 16:35:59 PDT 2022
Author: Philip Reames
Date: 2022-09-08T16:35:49-07:00
New Revision: c6d304aff3c5416ca38eac6827c2db7d38e74378
URL: https://github.com/llvm/llvm-project/commit/c6d304aff3c5416ca38eac6827c2db7d38e74378
DIFF: https://github.com/llvm/llvm-project/commit/c6d304aff3c5416ca38eac6827c2db7d38e74378.diff
LOG: [docs][RISCV] Add links to respective notes
Added:
Modified:
llvm/docs/RISCVUsage.rst
Removed:
################################################################################
diff --git a/llvm/docs/RISCVUsage.rst b/llvm/docs/RISCVUsage.rst
index 526c5993debf..d61a996a5bb7 100644
--- a/llvm/docs/RISCVUsage.rst
+++ b/llvm/docs/RISCVUsage.rst
@@ -44,9 +44,9 @@ on support follow.
.. table:: Ratified Extensions by Status
- =============== ========================
+ =============== =========================================================
Extension Status
- =============== ========================
+ =============== =========================================================
``A`` Supported
``C`` Supported
``D`` Supported
@@ -56,9 +56,9 @@ on support follow.
``Zba`` Supported
``Zbb`` Supported
``Zbc`` Supported
- ``Zbkb`` Supported (See note)
+ ``Zbkb`` Supported (`See note <#riscv-scalar-crypto-note1>`_)
``Zbkc`` Supported
- ``Zbkx`` Supported (See note)
+ ``Zbkx`` Supported (`See note <#riscv-scalar-crypto-note1>`_)
``Zbs`` Supported
``Zdinx`` Assembly Support
``Zfh`` Supported
@@ -71,22 +71,22 @@ on support follow.
``Zicboz`` Assembly Support
``Zihintpause`` Assembly Support
``Zkn`` Supported
- ``Zknd`` Supported (See note)
- ``Zkne`` Supported (See note)
- ``Zknh`` Supported (See note)
- ``Zksed`` Supported (See note)
- ``Zksh`` Supported (See note)
+ ``Zknd`` Supported (`See note <#riscv-scalar-crypto-note2>`_)
+ ``Zkne`` Supported (`See note <#riscv-scalar-crypto-note2>`_)
+ ``Zknh`` Supported (`See note <#riscv-scalar-crypto-note2>`_)
+ ``Zksed`` Supported (`See note <#riscv-scalar-crypto-note2>`_)
+ ``Zksh`` Supported (`See note <#riscv-scalar-crypto-note2>`_)
``Zk`` Supported
``Zkr`` Supported
``Zks`` Supported
``Zkt`` Supported
``Zmmul`` Supported
- ``Zve32x`` Partially Supported
- ``Zve32f`` Partially Supported
+ ``Zve32x`` (`Partially <#riscv-vlen-32-note>`_) Supported
+ ``Zve32f`` (`Partially <#riscv-vlen-32-note>`_) Supported
``Zve64x`` Supported
``Zve64f`` Supported
``Zve64d`` Supported
- ``Zvl32b`` Partially Supported
+ ``Zvl32b`` (`Partially <#riscv-vlen-32-note>`_) Supported
``Zvl64b`` Supported
``Zvl128b`` Supported
``Zvl256b`` Supported
@@ -98,7 +98,7 @@ on support follow.
``Zvl16384b`` Supported
``Zvl32768b`` Supported
``Zvl65536b`` Supported
- =============== ========================
+ =============== =========================================================
Assembly Support
LLVM supports the associated instructions in assembly. All assembly related tools (e.g. assembler, disassembler, llvm-objdump, etc..) are supported. Compiler and linker will accept extension names, and linked binaries will contain appropriate ELF flags and attributes to reflect use of named extension.
@@ -106,12 +106,18 @@ Assembly Support
Supported
Fully supported by the compiler. This includes everything in Assembly Support, along with - if relevant - C language intrinsics for the instructions and pattern matching by the compiler to recognize idiomatic patterns which can be lowered to the associated instructions.
+.. _riscv-scalar-crypto-note1:
+
``Zbkb``, ``Zbkx``
Pattern matching support for these instructions is incomplete.
+.. _riscv-scalar-crypto-note2:
+
``Zknd``, ``Zkne``, ``Zknh``, ``Zksed``, ``Zksh``
No pattern matching exists. As a result, these instructions can only be used from assembler or via intrinsic calls.
+.. _riscv-vlen-32-note:
+
``Zve32x``, ``Zve32f``, ``Zvl32b``
LLVM currently assumes a minimum VLEN (vector register width) of 64 bits during compilation, and as a result ``Zve32x`` and ``Zve32f`` are supported only for VLEN>=64. Assembly support doesn't have this restriction.
More information about the llvm-commits
mailing list