This is the mail archive of the gcc-patches@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]

Re: [PATCH] Re: New atomics not mentioned in /gcc-4.7/changes.html


Hi Andrew,

On Wed, 8 Feb 2012, Andrew MacLeod wrote:
OK, hows this look? I added a link in the news as well.

Index: index.html
===================================================================
+ <dt><span>Atomic memory model support</span>
+ <span class="date">[2011-11-06]</span></dt>
+ <dd>C++11/C11 <a href="http://gcc.gnu.org/wiki/Atomic/GCCMM";>memory model</a>
+ support has been added through a new set of built-in __atomic functions.
+ These new functions allow a memory model to be specified for an + operation and some targets may produce more efficient barriers and + synchronization code. Generic atomic support has also been added to allow + arbitrary sized data to be treated as atomic, and in turn the C++ atomic
+ class has been updated to allow atomic classes to be any size.
+ </dd>


This news item on the main page is quite long if you compare it with the others and probably fills most of that column on page 1; could you cut this signficantly and instead link to the gcc-4.7/changes.html and have
some of the good general background there?


Also, wouldn't you want to name who has contributed that?  (See some
old items for a couple of examples.)  That is purely optional, I think
it's kinda nice, though, and your employer might appreciate it, too. :-)

Index: gcc-4.7/changes.html
===================================================================
+ Support for atomic operations specifying the C++11/C11 memory model have + been added. These new __atomic routines replace the existing __sync
+ built-in routines.


Would that be <code>__atomic<code> and <code>__sync</code>


Nice stuff!


Gerald


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