This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [SPARC] Remove superfluous memory barrier for atomics with TSO
- From: David Miller <davem at davemloft dot net>
- To: rth at redhat dot com
- Cc: ebotcazou at adacore dot com, gcc-patches at gcc dot gnu dot org
- Date: Mon, 05 Aug 2013 00:12:57 -0700 (PDT)
- Subject: Re: [SPARC] Remove superfluous memory barrier for atomics with TSO
- References: <201307301531 dot 48864 dot ebotcazou at adacore dot com> <51F83F3A dot 4050209 at redhat dot com>
From: Richard Henderson <rth@redhat.com>
Date: Tue, 30 Jul 2013 12:33:30 -1000
> On 07/30/2013 03:31 AM, Eric Botcazou wrote:
>> 2013-07-30 Eric Botcazou <ebotcazou@adacore.com>
>>
>> * config/sparc/sparc.c (sparc_emit_membar_for_model) <SMM_TSO>: Add
>> the implied StoreLoad barrier for atomic operations if before.
>
> Looks good.
This looks fine to me too.