Skip to content

VINDEX

Operation

Writes each logical lane number to its destination element.

Assembler Syntax

VINDEX.{B|W|L|Q}(z) Vn(v)

Privilege

Unprivileged

Required CPUID flags

VECTOR

For an element width of \(E\) bytes, the destination contains \(\mathrm{VLEN}/(8E)\) logical lanes. Lane \(i\) receives the unsigned integer \(i\) encoded in its \(E\)-byte element.

2.75in

Encodings

VINDEX.{B|W|L|Q}(z) Vn(v)

Format: Instruction format for VINDEX.{B|W|L|Q}(z) Vn(v)

Format: Instruction format for VINDEX.{B|W|L|Q}(z) Vn(v)