[cpp-threads] Brief example ITANIUM Implementation for C/C++ Memory Model

Alexander Terekhov alexander.terekhov at gmail.com
Tue Dec 23 21:15:28 GMT 2008

Following the lead of

(cmpxchg aside for a moment aside, "Store Seq Cst" is surely busted)

here's a brief example ITANIUM implementation for C/C++ Memory Model:

(cmpxchg aside for a moment)

Load Relaxed:  ld
Load Consume:  ld
Load Acquire:  ld.acq
Load Seq_Cst:  mf,ld.acq
Store Relaxed: st
Store Release: st.rel
Store Seq Cst: st.rel,mf
Consume Fence: <ignore>
Acquire Fence: mf
Release Fence: mf
Acq_Rel Fence: mf
Seq_Cst Fence: mf

Any objections and/or questions?



More information about the cpp-threads mailing list