You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 20, 2024. It is now read-only.
What happens if a vector load fault first instruction (e.g. vle16ff.v) is executed with vstart larger than the largest element index?
Section 3.7 says:
The use of vstart values greater than the largest element index for the current SEW setting is reserved.
This seems unconditional. It should apply to all instructions.
Section 7.7 says:
If an element > 0 raises an exception, the corresponding trap is not taken, and the vector length vl is reduced to the index of the element that would have raised an exception.
Does this statement apply to an element index that is out of bounds (larger than the largest element index)? In this case the element is not raising an exception, the instruction itself is raising an exception because vstart is out of bounds.
The text was updated successfully, but these errors were encountered:
Does this statement apply to an element index that is out of bounds (larger than the largest element index)? In this case the element is not raising an exception, the instruction itself is raising an exception because vstart is out of bounds.
I don't think this statement apply to that scenario. There is no need to update VL if no destination elements are updated. Maybe changing the wording an element > 0 raises an exception to a body element > 0 raises an exception would be clearer.
For the rule of vstart value greater than largest element index, I think it applies to all vector instructions in general including fault-only-first instructions.
What happens if a vector load fault first instruction (e.g. vle16ff.v) is executed with vstart larger than the largest element index?
Section 3.7 says:
This seems unconditional. It should apply to all instructions.
Section 7.7 says:
Does this statement apply to an element index that is out of bounds (larger than the largest element index)? In this case the element is not raising an exception, the instruction itself is raising an exception because vstart is out of bounds.
The text was updated successfully, but these errors were encountered: