News for hackers. Stuff that matters.
Re:Who ordered memory fences on an x86? (2008) by mattnewport on Friday November 07, 2014 @04:40PM (#8574776)
To answer the first part of your question, a locked xchg is the usual way to implement a sequentially consistent store on x86 without an explicit fence. For sequentially consistent loads, plain mov suffices, providing it synchronizes with a locked store.

http://stackoverflow.com/questions/4972106/sequentially-cons...

There are no comments on this comment yet.