riscv / riscv-j-extension

Working Draft of the RISC-V J Extension Specification
https://jira.riscv.org/browse/RVG-128
Creative Commons Attribution 4.0 International
158 stars 19 forks source link

VS mode access for HLV* and HSV.* in U mode #72

Closed romanheros closed 1 month ago

romanheros commented 2 months ago

As the section 3.1. Ssnpm specifies, "Setting hstatus.HUPMM enables or disables pointer masking for HLV. and HSV. instructions in U-mode, according to the values in Table 2, when their explicit memory access is performed as though in VUmode".

Why the explicit memory access can't be performed as though in VS mode when SPVP is 1?

martinmaas commented 1 month ago

We believe that this case is captured by the last sentence of the paragraph:

Setting henvcfg.PMM enables or disables pointer masking for HLV. and HSV. when their explicit memory access is performed as though in VS-mode.