Skip to content

VLCNT

Operation

Write the number of lanes of the selected element width.

Assembler Syntax

VLCNT.{B|W|L|Q}(z) Rn(r)

Privilege

Unprivileged

Required CPUID flags

VECTOR

VLCNT writes the selected vector lane count to the complete 64-bit Rn destination. The count is VLEN in bytes divided by the selected B, W, L, or Q element width in bytes. The operation leaves FLAGS unchanged.

2.75in

Encodings

VLCNT.{B|W|L|Q}(z) Rn(r)

Format: Instruction format for VLCNT.{B|W|L|Q}(z) Rn(r)

Format: Instruction format for VLCNT.{B|W|L|Q}(z) Rn(r)