[cpp-threads] A question about N2153
Alexander Terekhov
alexander.terekhov at gmail.com
Fri Jan 26 12:55:14 GMT 2007
On 1/25/07, Raul Silvera <rauls at ca.ibm.com> wrote:
> Yes. I think that anything else couldn't really be called ordered.
> On PPC, it would require a leading sync and a trailing lwsync.
Trailing lwsync won't provide trailing StoreLoad.
>
> In most cases, the useful variant is the acquire RMW, which will be just a
> trailing isync.
Hear hear, that must be why Itanium provides xchg.acq and doesn't
provide xchg.rel variant. :-)
regards,
alexander.
More information about the cpp-threads
mailing list