Are VRGATHER.VX indices byte offsets?
No. VRGATHER indices select source-vector elements; byte offsets belong to indexed load/store instructions.
Gather source-vector elements by index.
VRGATHER.VX uses indices from rs1 to select elements from vs2 into vd; an index outside VLMAX produces a zero result element.
VRGATHER.VX handles index-based rearrangement of vector elements, with source data coming from vs2.
Understand this scenario with real code like «vrgather.vx v8, v12, x5, v0.t».
Understand this scenario with real code like «vrgather.vx v8, v12, x5, v0.t».
Understand this scenario with real code like «vrgather.vx v8, v12, x5, v0.t».
No. VRGATHER indices select source-vector elements; byte offsets belong to indexed load/store instructions.