This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH 1/3] Add atomic_compare_and_swap, atomic_exchange and atomic_fetch_add patterns.
On Fri, 15 Jun 2012, Maxim Kuvyrkov wrote:
> On 15/06/2012, at 8:51 AM, Hans-Peter Nilsson wrote:
> > While you're editing in these parts, how about making this
> > "bool emit_atomic_barrier_p (enum memmodel, bool pre)" and move it to
> > the middle-end, say emit-rtl.c?
> I've posted a separate patch to unify code for several targets.
Great, thanks! (And yes BTW, I'll move the CRIS port to use this.)
brgds, H-P