History log of /XiangShan/src/main/scala/xiangshan/backend/fu/NewCSR/CSREvents/DretEvent.scala (Results 1 – 11 of 11)
Revision Date Author Comments
# e50a46ea 17-Jan-2025 Guanghui Cheng <[email protected]>

fix(dret): clear xstatus.xDT conditionally when dret is executed (#4193)


# b6cec436 20-Nov-2024 Guanghui Cheng <[email protected]>

fix(dret): fix update of privstate in dretevent (#3898)

ref: When an MRET instruction is executed, the virtualization mode V
is set to MPV, unless MPP=3, in which case V remains 0


# cb36ac0f 20-Sep-2024 Xuan Hu <[email protected]>

fix(CSR): Add legalization code for mstatus.MPP, mnstatus.MNPP and dcsr.PRV (#3577)


# c1b28b66 09-Sep-2024 Tang Haojin <[email protected]>

fix(exception): check high address bits of jump target (#3003)

This commit contains high address bits checking of jump target. In
previous implementation, we simply truncated the higher bits of jump

fix(exception): check high address bits of jump target (#3003)

This commit contains high address bits checking of jump target. In
previous implementation, we simply truncated the higher bits of jump
target address, which made it impossible to raise exceptions in such
cases.

To resolve this problem, we detect the invalid jump target in
jump/branch/CSR and, this information to frontend and store the complete
invalid target in a single register in backend. The frontend will then
raise an exception to backend and backend will also use the invalid
target in the register to write xtval and mepc.

---------

Co-authored-by: Muzi <[email protected]>
Co-authored-by: ngc7331 <[email protected]>

show more ...


# 0f9a14c6 14-Jun-2024 chengguanghui <[email protected]>

NewCSR: fixed dpc


# 1734111c 11-Jun-2024 chengguanghui <[email protected]>

NewCSR: support vu/vs entry debugMode


# a7a6d0a6 23-May-2024 chengguanghui <[email protected]>

NewCSR: Refactor CSR about Debug

* add CSR: trigger csr & debug csr

* add CSR event: TrapEntryDEvent & DretEvent

* fixed trigger's comparison func between Consecutive pc and tdada2


# 8419d406 28-Apr-2024 Xuan Hu <[email protected]>

NewCSR: fix bundle connection


# 6057352a 25-Apr-2024 Xuan Hu <[email protected]>

NewCSR: fix DretEvent update debugMode


# 94c2cc17 18-Apr-2024 sinceforYy <[email protected]>

NewCSR: fix tlb IO bundle


# 1e7040ba 18-Apr-2024 sinceforYy <[email protected]>

NewCSR: add DretEvent