Is ei32 the data width for vsoxei32.v?
No. ei32 is the index EEW, meaning each index element in vs2 is 32 bits; the actual stored data width comes from current SEW.
Use x[rs1] plus 32-bit unsigned byte offsets from vs2 for ordered indexed stores from active vs3 elements.
VSOXEI32.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 zero-extends the 32-bit index, while RV32 uses all 32 bits; it then stores the current-SEW data from vs3[i]. ei32 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 32-bit indexed store, then compute each element address as x[rs1] + zero_extend(vs2[i]).
Teaching context: V 1.0, enabled vector state, valid supported vtype/SEW/index EEW; fix VLEN=4096, LMUL=m1, vstart=0, VLMAX=4096/32, index EMUL=1. Index groups align and stay within v31; a register cannot supply different source EEWs, and v0.t excludes v0 data sources. Equal-EEW vs3/vs2 sharing a register require equal elements. x0 gives base zero. Assume all active accesses succeed; misaligned accesses require environment support. The address display range 0..0xffffffff is a teaching limit, not an ISA limit. Rows show per-element store events, not a final byte-memory image; later overlapping stores may overwrite earlier data. Ordered stores obey RVWMO in element order. Stages are not processor cycles. Inactive/tail elements make no access; VL=0 makes no access. Sources remain unchanged; success resets vstart=0.
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.
Use x[rs1] plus 32-bit unsigned byte offsets from vs2 for ordered indexed stores from active vs3 elements.
V 1.0 requires enabled vector state, vill=0 and supported vtype. Active elements have vstart<=i<vl and enabled mask; v0.t means vm=0, omission vm=1. Success resets vstart=0.
Data EEW=SEW, EMUL=LMUL; index EMUL=(index EEW/SEW)*LMUL must be 1/8..8. Groups align; one register cannot provide different source EEWs, including EEW=1 v0. Inactive/tail make no access; vstart>=vl makes no access.
Unsigned byte indexes zero-extend when narrower than XLEN and are not scaled by data width. Ordered stores obey RVWMO at element level. Sources remain unchanged; active accesses may trap, and misaligned accesses may succeed or fault.
Understand this scenario with real code like «vsoxei32.v v8, (a0), v4, v0.t».
Understand this scenario with real code like «vsoxei32.v v8, (a0), v4, v0.t».
Understand this scenario with real code like «vsoxei32.v v8, (a0), v4, v0.t».
No. ei32 is the index EEW, meaning each index element in vs2 is 32 bits; the actual stored data width comes from current SEW.
It is an unsigned byte offset; RV64 zero-extends the 32-bit index, while RV32 uses all 32 bits in the x[rs1] addition.
Stores obey RVWMO in element order. Address and data formulas are unchanged, but later stores to the same address may overwrite earlier data.