aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/aarch64/atomics.md2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 7394e28..21cb420 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2015-12-04 Bin Cheng <bin.cheng@arm.com>
+
+ * config/aarch64/atomics.md (atomic_store<mode>): Use predicate
+ aarch64_sync_memory_operand.
+
2015-12-04 Jakub Jelinek <jakub@redhat.com>
PR target/68655
diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64/atomics.md
index 3c034fb..68dc27a 100644
--- a/gcc/config/aarch64/atomics.md
+++ b/gcc/config/aarch64/atomics.md
@@ -481,7 +481,7 @@
)
(define_insn "atomic_store<mode>"
- [(set (match_operand:ALLI 0 "memory_operand" "=Q")
+ [(set (match_operand:ALLI 0 "aarch64_sync_memory_operand" "=Q")
(unspec_volatile:ALLI
[(match_operand:ALLI 1 "general_operand" "rZ")
(match_operand:SI 2 "const_int_operand")] ;; model