VID.V
Vector Element Index
VID.V vd, vm
Writes the element index (0, 1, 2...) to the destination.
Details
Writes the element index (0, 1, 2, …, vl−1) to each active element of vd.
Pseudocode Operation
foreach(i < vl): vd[i] = i;
Example
VID.V v1, v0.t
Encoding
Binary Layout
010100
31:26
vm
25
00000
24:20
10001
19:15
010
14:12
vd
11:7
1010111
6:0
Operands
-
vd
Destination vector register