~/talk

Memory Model

links:none on file
slides:none on file

RISC-V defines an RVWMO memory model with axiomatic and operational models side-by-side, a concrete litmus example (message passing) and a practical justification: store buffers explain TSO behavior and loads may forward from buffers. The spec lists 13 preserved-program-order rules (address/data/control deps, fences, release/ acquire RCsc behavior), atomicity and progress axioms, and separates extensions ZAM and ZTSO. The spec is published, tools are ported to RISC-V, and the document is currently up for ratification.

AI-written summary · about

  1. 0:00Intro
  2. 1:03OUTLINE
  3. 1:47WHAT IS A MEMORY CONSISTENCY MODEL?
  4. 3:40A WIDE RANGE OF MEMORY MODELS
  5. 8:10ARCHITECTURE VS. MICROARCHITECTURE
  6. 10:38OPERATIONAL VS. AXIOMATIC In modern practice, at ISA level, two common modeling approaches: Axiomatic: define a set of criteria ("axloms") to be satisfied
  7. 12:08SEQUENTIAL CONSISTENCY CLAMPORT 701 Axiomatic
  8. 16:53ADDING A STORE BUFFER
  9. 19:04TOTAL STORE ORDERING (SPARC, X86, RVTSO)
  10. 20:42RISC-V WEAK MEMORY ORDERING (RVWMO)
  11. 24:37PPO RULES 5-7
  12. 25:33PPO RULES 9-11
  13. 27:45PPO RULE 2
  14. 30:22PROGRESS AXIOM
  15. 30:44MEMORY MODEL ISA EXTENSIONS
  16. 31:04ONGOING/FUTURE WORK
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.