Skip to content
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.

Clarify how the largest element index is determined #876

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions v-spec.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -558,8 +558,9 @@ setting (8) and the smallest SEW setting (8), so VLMAX_max = 8*VLEN/8
= VLEN. For example, for VLEN=256, `vstart` would have 8 bits to
represent indices from 0 through 255.

The use of `vstart` values greater than the largest element index for
the current `vtype` setting is reserved.
The use of `vstart` values greater than the largest element index is reserved.
The largest element index is determined using the EEW and EMUL of any vector
operand of the current instruction.

NOTE: It is recommended that implementations trap if `vstart` is out
of bounds. It is not required to trap, as a possible future use of
Expand Down