Use dmb ish instead of dmb sy for ARM.
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>
Wed, 10 Jun 2015 08:56:07 +0000 (08:56 +0000)
committerRamana Radhakrishnan <ramana@gcc.gnu.org>
Wed, 10 Jun 2015 08:56:07 +0000 (08:56 +0000)
2015-06-10  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>

* config/arm/sync.md (*memory_barrier): Use dmb ish instead of
dmb sy. Adjust tabs.

From-SVN: r224317

gcc/ChangeLog
gcc/config/arm/sync.md

index 14d7c71e5462aaf23552b6ef3406079db30dae06..731879374432c0699f33de0471f1f91ee1b39487 100644 (file)
@@ -1,3 +1,8 @@
+2015-06-10  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
+
+       * config/arm/sync.md (*memory_barrier): Use dmb ish instead of
+       dmb sy. Adjust tabs.
+
 2015-06-10  Tom de Vries  <tom@codesourcery.com>
 
        * omp-low.c (expand_omp_target): Remove duplicate declaration of node.
index 75dd52ea3aa94a227c62b6f77ee78ebf0eee61d5..9ee715cd6de60c01607bcdd659eff24d5a44751c 100644 (file)
   {
     if (TARGET_HAVE_DMB)
       {
-       /* Note we issue a system level barrier. We should consider issuing
-          a inner shareabilty zone barrier here instead, ie. "DMB ISH".  */
-       /* ??? Differentiate based on SEQ_CST vs less strict?  */
-       return "dmb\tsy";
+       return "dmb\\tish";
       }
 
     if (TARGET_HAVE_DMB_MCR)
-      return "mcr\tp15, 0, r0, c7, c10, 5";
+      return "mcr\\tp15, 0, r0, c7, c10, 5";
 
     gcc_unreachable ();
   }