[cpp-threads] Brief example SPARC TSO Implementation for C/C++ MemoryModel
Alexander Terekhov
alexander.terekhov at gmail.com
Sat Dec 27 18:12:40 GMT 2008
(cmpxchg aside for a moment)
Load Relaxed: ld
Load Consume: ld
Load Acquire: ld
Load Seq_Cst: membar #StoreLoad,ld
Store Relaxed: st
Store Release: st
Store Seq Cst: st,membar #StoreLoad
Consume Fence: <ignore>
Acquire Fence: <ignore>
Release Fence: <ignore>
Acq_Rel Fence: <ignore>
Seq_Cst Fence: membar #StoreLoad
Any objections and/or questions?
TIA.
regards,
alexander.
More information about the cpp-threads
mailing list