rs6000.c (rs6000_pre_atomic_barrier): Remove SYNC variants cases from switch.
authorDavid Edelsohn <dje.gcc@gmail.com>
Fri, 12 Jun 2015 00:00:53 +0000 (00:00 +0000)
committerDavid Edelsohn <dje@gcc.gnu.org>
Fri, 12 Jun 2015 00:00:53 +0000 (20:00 -0400)
commit39e150e85f8059df69b1cc4fff2567d682b6da9f
tree401c22aaaaa8d6fc8fa355cd99b13368cd61c84a
parent7672ab25db2459b86afa56533feb36a2f83c080a
rs6000.c (rs6000_pre_atomic_barrier): Remove SYNC variants cases from switch.

       * config/rs6000/rs6000.c (rs6000_pre_atomic_barrier): Remove SYNC
        variants cases from switch.
        (rs6000_post_atomic_barrier): Same.
        (rs6000_expand_atomic_compare_and_swap): Use memmodel_base.
        (rs6000_expand_atomic_exchange): Same.
        (rs6000_expand_atomic_op): Same.
        * config/rs6000/sync.md (mem_thread_fence): Use memodel_base. Remove
        SYNC variants cases from switch.
        (atomic_load): Same.
        (atomic_store): Same.

From-SVN: r224401
gcc/ChangeLog
gcc/config/rs6000/rs6000.c
gcc/config/rs6000/sync.md