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, RFA]: Properly mask memory model argument with MEMMODEL_MASK


On 01/15/2013 12:09 AM, Uros Bizjak wrote:
2013-01-15 Uros Bizjak<ubizjak@gmail.com>

         * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
         with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
         * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
         (expand_mem_thread_fence): Ditto.
         (expand_mem_signal_fence): Ditto.
         (expand_atomic_load): Ditto.
         (expand_atomic_store): Ditto.

Ok.



r~



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