This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/17403] atomic_full_barrier is incorrect for x86 and x86_64


https://sourceware.org/bugzilla/show_bug.cgi?id=17403

--- Comment #2 from Torvald Riegel <triegel at redhat dot com> ---
I'm not quite sure about the really old ones such as i486, but the HW memory
model is TSO, which still needs Store/Load barriers -- it's not sequential
consistency that the HW provides.  So for stuff like Dekker synchronization you
need mfence.  See http://www.cl.cam.ac.uk/~pes20/cpp/cpp0xmappings.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]