Check vl first
The current vl determines the number of body elements. Typical code executes vsetvli, vsetivli, or vsetvl before this instruction.
Use x[rs1] plus the low XLEN bits of 64-bit vs2 indices as unsigned byte offsets for ordered indexed stores of active vs3 elements.
VSOXEI64.V is a RISC-V V-extension ordered indexed vector store instruction. Each active element adds the address-width unsigned value of vs2[i] to x[rs1]: RV64 uses the full 64-bit index, while RV32 uses only its low 32 bits; it then stores the current-SEW data from vs3[i]. ei64 specifies only the index EEW. The ordered form observes stores in element order. With vm=0, elements disabled by v0.t do not write memory.
Decode the 64-bit indexed store, then compute each element address as x[rs1] + vs2[i].
The animation starts from the 32-bit vector memory encoding and shows the official bit fields: nf, mew, mop, vm, rs2/vs2 or lumop/sumop, width, register fields, and opcode.
VSOXEI64.V is an RVV ordered indexed store: ei64 specifies index EEW, and RV32 address calculation uses only the low 32 bits of each 64-bit index. Memory writes occur only for active elements not masked off.
When reading VSOXEI64.V, do not stop at the mnemonic. Official V-extension semantics also depend on the current vl, vtype, and mask state. The suffix and operand form determine whether sources are vector, scalar, or immediate values.
The current vl determines the number of body elements. Typical code executes vsetvli, vsetivli, or vsetvl before this instruction.
The current vtype supplies SEW, LMUL, tail policy, and mask policy; these affect element width, register-group size, and inactive/tail destination elements.
For ordinary vector instructions with vm, vm=0 uses v0 as the execution mask and vm=1 is unmasked. A few forms such as VMERGE use v0 as data-selection input.
Understand this scenario with real code like «vsoxei64.v v8, (a0), v4, v0.t».
Understand this scenario with real code like «vsoxei64.v v8, (a0), v4, v0.t».
Understand this scenario with real code like «vsoxei64.v v8, (a0), v4, v0.t».
Index values are unsigned byte offsets, not element numbers.