On 05/24/2011 07:28 PM, H.J. Lu wrote:

> This patch implements pause intrinsic suggested by Andi.  OK
> for trunk?

What does "full memory barrier" here mean?

+@table @code
+@item void __builtin_ia32_pause (void)
+Generates the @code{pause} machine instruction with full memory barrier.
+@end table

There a memory clobber, but no barrier instruction AFAICS.  The
doc needs to explain it a bit better.

Andrew.

Reply via email to