Skip to content

mret and wfi in User mode

Created by: silabs-oysteink

mret during user mode will result in illegal instruction. WFI during user mode will result in illegal instruction if mstatus.tw == 1.

Added stalling of IF stage if WFI is present and CSR writes (including priv lvl updates via mret) is present in EX or WB.

Merge request reports

Loading