Open AlexGJL opened 20 hours ago
See the "Precise vector traps" sub-section in the "Exception Handling" of the RVV spec - where it talks about what is and isn't allowed with respect to non-idempotent regions.
Note also that RVV is a bit different than SVE in this regard: RISC-V has the vstart
CSR, so can restart an instruction partway through at the position of the exception, whereas SVE does not have an equivalent feature and so must restart at the beginning.
Does riscv allow vector load/store access the same device address multiple times like arm? it seems not easy to deal exception for hardware if not allowed.