Memory Ordering Instructions: FENCE.I
Today’s @risc_v Tip:
The Zifencei
extension defines one instruction, FENCE.I
, which orders memory writes and instruction fetches. Unlike FENCE
, it only synchronizes instructions visible to a single hart. The rd
/ rs1
/ imm[11:0]
fields are reserved for future use.