-
Notifications
You must be signed in to change notification settings - Fork 890
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Spike should fault at vstart > vlmax for vle<n>ff #1310
Comments
Trapping on reserved instructions is recommended but not required. So I'd rather leave this alone. |
I see that it is taking trap for few other instruction (see example of vslidedown below).
|
That's actually a different case: as permitted by the ISA, Spike traps when vstart is nonzero on arithmetic instructions (regardless of whether vstart < vlmax). |
We are running with vlen=128, xlen-64.
from the spec and this issue filed on riscv-spec: riscvarchive/riscv-v-spec#871
for vstart>vlmax, spike should obey:
The use of vstart values greater than the largest element index for the current SEW setting is reserved.
Here is a snippet of spike log: The instruction we are expecting to see a fault : vle8ff.v
The text was updated successfully, but these errors were encountered: