atomics.md (atomic_store<mode>): Use predicate aarch64_sync_memory_operand.
authorBin Cheng <bin.cheng@arm.com>
Fri, 4 Dec 2015 09:35:22 +0000 (09:35 +0000)
committerBin Cheng <amker@gcc.gnu.org>
Fri, 4 Dec 2015 09:35:22 +0000 (09:35 +0000)
* config/aarch64/atomics.md (atomic_store<mode>): Use predicate
aarch64_sync_memory_operand.

From-SVN: r231251

gcc/ChangeLog
gcc/config/aarch64/atomics.md

index 7394e28444cacc16b2096b367bee611f0de640c2..21cb420f9caf520b17842b24b4a965f5be44f17d 100644 (file)
@@ -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
index 3c034fb437640288fe07132de5e95c5d253f33c5..68dc27add925cb70bf58a7e1574799f2a97f6978 100644 (file)
 )
 
 (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