r200304 - in /trunk/gcc: ChangeLog doc/extend.texi

ak@gcc.gnu.org ak@gcc.gnu.org
Fri Jun 21 13:51:00 GMT 2013


Author: ak
Date: Fri Jun 21 13:51:48 2013
New Revision: 200304

URL: http://gcc.gnu.org/viewcvs?rev=200304&root=gcc&view=rev
Log:
Fix HLE example in manual

The HLE example in the manual only commits when using bool
for the flag, because __atomic_clear only writes bool, and
HLE requires the acquire and release to match.

So when the example is copied with e.g. an int variable it
does not commit and causes slower than expected performance.

Some people are running into problems because of this.

Switch it over to use __atomic_store.

Also fix a minor typo nearby.

gcc/:
2013-06-21  Andi Kleen  <ak@linux.intel.com>

	* doc/extend.texi: Dont use __atomic_clear in HLE
	example.  Fix typo.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/extend.texi



More information about the Gcc-cvs mailing list