Home/Instructions/VLOXEI64-V
VLOXEI64.V

RISC-V VLOXEI64.V Instruction Details

Instruction ManualR-type

Use x[rs1] plus 64-bit unsigned byte offsets in vs2 for ordered indexed loads.

Instruction Syntax

vloxei64.v vd, (rs1), vs2, vm
Operand Breakdown
Destination rd: register receiving the operation result.
Source rs1: register holding the first operand.
Source rs2: register holding the second operand.
VVector LoadIndexed Access

Instruction Behavior

VLOXEI64.V is a RISC-V V ordered indexed vector load instruction with 64-bit index EEW. Each active element address is x[rs1] plus a 64-bit unsigned byte offset from vs2; the ordered form observes accesses in element order. It operates on active elements within vl, with masking and tail behavior following RVV rules.

Quick Understanding & Search Notes

VLOXEI64.V uses vs2 as byte offsets, not element numbers; the ordered form is for cases where observable access order matters.

Index EEW=64; loaded data elements use the current SEW, and register-group use is constrained by data SEW/LMUL together with index EEW.
Ordered indexed loads observe accesses in element order; offsets are unsigned byte offsets.
vm=0 uses v0 as the execution mask and vm=1 is unmasked; inactive and tail elements follow the current vma/vta policy.

Common Usage Scenarios

Sparse Access

Understand this scenario with real code like «vsetvli t0, a0, e32, m1, ta, ma vloxei64.v v1, (a0), v2».

Indirect Addressing

Understand this scenario with real code like «vsetvli t0, a0, e32, m1, ta, ma vloxei64.v v1, (a0), v2».

Pre-Use Checklist

Syntax Check
  • Confirm the current instruction format is R-type.
  • Confirm the operand order matches the example.
Semantic Check
  • Ensure the destination register usage is compatible with the calling convention.
  • Confirm this is not the lower-level form of a pseudo-instruction expansion.

Pitfalls / Common Confusions

The index width is fixed at 64 bits and is independent of data SEW; vs2 supplies unsigned byte offsets, not element numbers.
The ordered form observes memory accesses in element order; do not replace it with vluxei when ordered visibility is required.

FAQ

What unit is used for VLOXEI64.V address offsets?

Indexed-load vs2 elements are unsigned byte offsets.

How does VLOXEI64.V handle masking?

With vm=0, v0 selects active elements; with vm=1, all body elements participate. Inactive and tail elements follow the current policies.