On Wed, May 25, 2011 at 5:09 PM, Andrew Haley <a...@redhat.com> wrote: > On 05/25/2011 03:57 PM, Richard Guenther wrote: >> >> asm volatile ("" : : : "memory") in fact will work as a full memory barrier > > How? You surely need MFENCE or somesuch, unless all you > care about is a compiler barrier. That's what I think needs > to be clarified.
Well, yes, I'm talking about the compiler memory barrier. Richard. > Andrew. >