[PATCH] D142348: [RISCV][Docs] Document code generation for vector extension

Vettel via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 1 21:59:04 PDT 2023


LWenH added inline comments.


================
Comment at: llvm/docs/RISCV/RISCVVectorExtension.rst:212
+One downside of this design is that it doesn’t allow vectors of i128 (this is, ELEN=128).
+In that case vscale would have to be 1/2 under :math:`\text{LMUL}=1`.
+This type (and its fp counterpart float128) are not that common and in case of extreme necessity types for :math:`\text{LMUL}=2` could be used instead.
----------------
Hi, as a doc reader I'm quite confuse why here for the i128 type would be the 1/2 under the LMUL=1. In order to represent the i128 type, shouldn't the vscale be extended to 2 (LMUL=1) to be more direct?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D142348/new/

https://reviews.llvm.org/D142348



More information about the llvm-commits mailing list