Commit b2095240 by Ramana Radhakrishnan Committed by Ramana Radhakrishnan

Use dmb ish instead of dmb sy for ARM.

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
parent 68706112
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> 2015-06-10 Tom de Vries <tom@codesourcery.com>
* omp-low.c (expand_omp_target): Remove duplicate declaration of node. * omp-low.c (expand_omp_target): Remove duplicate declaration of node.
......
...@@ -50,14 +50,11 @@ ...@@ -50,14 +50,11 @@
{ {
if (TARGET_HAVE_DMB) if (TARGET_HAVE_DMB)
{ {
/* Note we issue a system level barrier. We should consider issuing return "dmb\\tish";
a inner shareabilty zone barrier here instead, ie. "DMB ISH". */
/* ??? Differentiate based on SEQ_CST vs less strict? */
return "dmb\tsy";
} }
if (TARGET_HAVE_DMB_MCR) if (TARGET_HAVE_DMB_MCR)
return "mcr\tp15, 0, r0, c7, c10, 5"; return "mcr\\tp15, 0, r0, c7, c10, 5";
gcc_unreachable (); gcc_unreachable ();
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment