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, RTL-optimization]: Optimize need_atomic_barrier_p a bit


On Thu, Jun 11, 2015 at 11:35 AM, Uros Bizjak <ubizjak@gmail.com> wrote:
> Hello!
>
> We can use MEMMODEL_BASE_MASK here to avoid a couple of similar cases.
>
> 2015-06-11  Uros Bizjak  <ubizjak@gmail.com>
>
>     * emit-rtl.c (need_atomic_barrier_p): Mask model with
>     MEMMODEL_BASE_MASK.  Remove MEMMODEL_SYNC_* cases.
>
> Tested on x86_64-linux-gnu {,-m32}.
>
> OK for mainline?

I went ahead and committed the patch to mainline. It is obvious, after all.

Uros.


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