Only x1 and x5 are supported compared link-register operands.
Zicfiss depends on the Zicsr, Zimop, and Zaamo extensions.
A shadow-stack value mismatch raises a software-check exception.
A store/AMO access-fault has priority over software-check; if the implicit ssp load raises a store/AMO page-fault or guest-page-fault, it is not compared and ssp is not updated.
If ssp is not XLEN-aligned, SSPOPCHK raises a store/AMO access-fault.
The accessed memory must be idempotent and PMP must allow read/write access; otherwise it raises a store/AMO access-fault.
Trap behavior depends on privilege level, environment configuration CSRs, and page-table/memory attributes.
ssp is incremented by XLEN/8 only after the load succeeds and the comparison passes.