Supervisor Memory Management Fence Instruction
Tonight’s @risc_v Tip:
Supervisor (S) mode has a dedicated memory-management (mm) fence instruction (SFENCE.VMA
) that ensures visible stores are ordered before subsequent implicit references to mm data structures. The values of registers in rs1
and rs2
dictate behavior.