RISC-V Topic Guide

Memory Ordering

RISC-V memory ordering covers the RVWMO default memory consistency model, FENCE ordering of memory and I/O accesses, Zifencei FENCE.I instruction-fetch synchronization, A-extension aq/rl bits, and stronger ordering constraints provided by Ztso and FENCE.TSO.

RVWMOFENCEFENCE.IFENCE.TSOZtsoaqrlAMO aq/rlmemory modelI/O ordering