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

Commit

Permalink
Clarify how the largest element index is determined
Browse files Browse the repository at this point in the history
Fixes #873

Signed-off-by: Hugues de Lassus <[email protected]>
  • Loading branch information
hdelassus committed Apr 18, 2023
1 parent b9afd6f commit 917d4e7
Showing 1 changed file with 3 additions and 2 deletions.
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

0 comments on commit 917d4e7

Please sign in to comment.