This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

sync operations: where's the barrier?


Hi Richard,

The documentation for the atomic operation patterns says things like:

This pattern must issue any memory barrier instructions such that the
pattern as a whole acts as a full barrier.

Should the barrier happen before the operation, after the operation, are there two barriers, or is it undefined?

Attachment: smime.p7s
Description: S/MIME cryptographic signature


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