That actually generates a locked memory or with zero or an mfence
instruction.  This intrinsic... actually does nothing, except to prevent
the compiler from reordering loads and stores.  If you want to do something
with the CPU, you need to use a different intrinsic.


On Wed, Oct 16, 2013 at 12:44 PM, Eric Christopher <[email protected]>wrote:

>
>   Can't use something like __sync_synchronize or is the behavior different?
>
> http://llvm-reviews.chandlerc.com/D1954
>
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to