From b20952407935bd6c4638b9bd8fa44f6099c8bdbc Mon Sep 17 00:00:00 2001 From: Ramana Radhakrishnan Date: Wed, 10 Jun 2015 08:56:07 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/arm/sync.md | 7 ++----- 2 files changed, 7 insertions(+), 5 deletions(-) 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 (); } -- 2.30.2