Skip to content

Commit 6fbfbd7

Browse files
authored
[RISCV] Add some additional notes about mask pseudo instructions to RISCVVectorExtension.rst. NFC (#120337)
1 parent a61eeaa commit 6fbfbd7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

llvm/docs/RISCV/RISCVVectorExtension.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,9 @@ For scalable vectors that should use VLMAX, the AVL is set to a sentinel value o
233233

234234
There are patterns for target agnostic SelectionDAG nodes in ``RISCVInstrInfoVSDPatterns.td``, VL nodes in ``RISCVInstrInfoVVLPatterns.td`` and RVV intrinsics in ``RISCVInstrInfoVPseudos.td``.
235235

236+
Instructions that operate only on masks like VMAND or VMSBF uses pseudo instructions suffixed with B1, B2, B4, B8, B16, B32, or B64 where the number is SEW/LMUL representing
237+
the ratio between SEW and LMUL needed in vtype. These instructions always operate as if EEW=1 and always use a value of 0 as their SEW operand.
238+
236239
Mask patterns
237240
-------------
238241

0 commit comments

Comments
 (0)