What happens if the related CFI feature is inactive for SSRDP?
With xSSE=0, SSRDP's MOP behavior writes zero to its destination register; it writes ssp only when xSSE=1.
Reads current ssp; writes zero when Zicfiss is not active according to Zimop behavior.
Beginner view: SSRDP lets runtimes, unwinders, or stack-switching code read ssp. If Zicfiss is inactive it writes zero to its destination register, so software can use it to detect active shadow stacks.
Shows only specification-defined encodings, conditions, and architectural state.
SSRDP reads the Zicfiss ssp and writes zero under the Zimop behavior when inactive.
Understand this scenario with real code like «ssrdp t0».
Understand this scenario with real code like «ssrdp t0».
Understand this scenario with real code like «ssrdp t0».
Understand this scenario with real code like «ssrdp t0».
With xSSE=0, SSRDP's MOP behavior writes zero to its destination register; it writes ssp only when xSSE=1.
The Control-Flow Integrity chapter of the RISC-V Unprivileged ISA defines LPAD, SSPUSH, SSPOPCHK, SSRDP, and SSAMOSWAP.