Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dbltrp): fix sdt/dte interaction logic
* menvcfg.DTE only control Smode dbltrp. Thus mstatus.sdt will not control by DTE. * as sstatus is alias of mstatus, when menvcfg.DTE close write sstatus.sdt cannot lead to shadow write of mstatus.sdt. As a result, we add wmask of sdt, when write source is from alias write. While vsstatus is not alias of any other CSR fields, so origin logic is correct.
- Loading branch information