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
This commit is contained in:
Ramana Radhakrishnan 2015-06-10 08:56:07 +00:00 committed by Ramana Radhakrishnan
parent 6870611266
commit b209524079
2 changed files with 7 additions and 5 deletions

View 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.

View file

@ -50,14 +50,11 @@
{
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 ();
}