index

SVE Create Index Vector

INDEX <Zd>.<T>, <Start>, <Step>

Generates a vector of indices: V[i] = Start + i * Step.

Details

The SVE Create Index Vector instruction generates a vector of indices: V[i] = Start + i * Step.

Pseudocode Operation

// Generates a vector of indices: V[i] = Start + i * Step

Example

INDEX z0.s.T, Start, Step

Encoding

Binary Layout
00000100
sz
0
1
01
imm5
imm5
Zd
 
Format SVE Index
Opcode 0x04400000
Extension SVE

Operands

  • Zd
    Destination scalable vector register (SVE)
  • Start
    Scalar/Imm
  • Step
    Scalar/Imm