Re: Question about __builtin_ia32_mfence and memory barriers

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 12, 2013 at 8:01 PM, Chung-Ju Wu <jasonwucj@xxxxxxxxx> wrote:
>
> According to GCC Internal 10.5, the description says that
> "Volatile memory references may not be deleted, reordered or combined."
> I think that is why __builtin_ia32_mfence and __builtin_ia32_pause *do*
> generate a barrier in dw's experiment.

Good point.  Thanks, that makes sense.

Ian




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux