pub unsafe fn sync()
Expand description
SYNC, Synchronize instruction
Ensures that all instructions before retire earlier than this instruction, and all instructions after retire later than this instruction.
Permissions
Can run on M, U mode, or S mode if applicable.
Exceptions
Raises illegal instruction exception when mxstatus.theadisaee = 0
, or
when mxstatus.theadisaee = 1
but run on U mode.
Platform support
This instruction is supported on Xuantie C910, C906, E907 and E906 cores.