OpenXiangShan / NEMU

Other
236 stars 90 forks source link

csr: fix hideleg/hedeleg mask and update *ie to sync with xiangshan #421

Closed sinceforYy closed 3 months ago

sinceforYy commented 3 months ago

Because of supporting Sscofpmf, Sstc extension, the local counter overflow interrupt (LCOFI,13) is implemented and writable. While NEMU cannot get the value of counter, so we temporarily skip difftest ip CSRs in XiangShan. Meanwhile, we update ie mask and hideleg/hedeleg mask to sync with XiangShan.