From: Ramana Radhakrishnan Date: Wed, 10 Jun 2015 08:56:07 +0000 (+0000) Subject: Use dmb ish instead of dmb sy for ARM. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b20952407935bd6c4638b9bd8fa44f6099c8bdbc;p=gcc.git Use dmb ish instead of dmb sy for ARM. 2015-06-10 Ramana Radhakrishnan * config/arm/sync.md (*memory_barrier): Use dmb ish instead of dmb sy. Adjust tabs. From-SVN: r224317 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 14d7c71e546..73187937443 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-06-10 Ramana Radhakrishnan + + * config/arm/sync.md (*memory_barrier): Use dmb ish instead of + dmb sy. Adjust tabs. + 2015-06-10 Tom de Vries * omp-low.c (expand_omp_target): Remove duplicate declaration of node. diff --git a/gcc/config/arm/sync.md b/gcc/config/arm/sync.md index 75dd52ea3aa..9ee715cd6de 100644 --- a/gcc/config/arm/sync.md +++ b/gcc/config/arm/sync.md @@ -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 (); }