ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

sfence.w.inval

T1 riscv alu insn
Order writes before sfence
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Svinval
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegesupervisor
ExtensionsSvinval

Summary

The sfence.w.inval instruction guarantees that any previous stores already visible to the current RISC-V hart are ordered before subsequent sinval.vma instructions executed by the same hart.

Syntax / Encoding

sfence.w.inval | 00011000000000000000000001110011 (mask=0xffffffff match=0x18000073)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
32RV000110000000000000000000011100110xffffffff / 0x18000073