2015-12-20 Andrew Pinsi <apinski@cavium.com>
authorAndrew Pinski <apinski@cavium.com>
Sun, 20 Dec 2015 22:01:32 +0000 (14:01 -0800)
committerAndrew Pinski <pinskia@gcc.gnu.org>
Sun, 20 Dec 2015 22:01:32 +0000 (14:01 -0800)
        * config/aarch64/atomics.md
        (aarch64_atomic_<atomic_optab>_fetch<mode>_lse): Add early clobber
        to the scratch register.

From-SVN: r231864

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

index d8b5be3a1e7e30f55adf2b56b11043ba04601771..f77d39188288e256ffa3679b5365dbb8526f1c62 100644 (file)
@@ -1,3 +1,9 @@
+2015-12-20  Andrew Pinsi  <apinski@cavium.com>
+
+       * config/aarch64/atomics.md
+       (aarch64_atomic_<atomic_optab>_fetch<mode>_lse): Add early clobber
+       to the scratch register.
+
 2015-12-20  Sujoy Saraswati  <sujoy.saraswati@hpe.com>
 
        PR tree-optimization/61441
index 68dc27add925cb70bf58a7e1574799f2a97f6978..5057563b99e0314e024c7e3b354f8f8f622b592d 100644 (file)
        (match_dup 2)
        (match_operand:SI 3 "const_int_operand")]
       UNSPECV_ATOMIC_LDOP))
-     (clobber (match_scratch:ALLI 4 "=r"))]
+     (clobber (match_scratch:ALLI 4 "=&r"))]
   "TARGET_LSE"
   "#"
   "&& reload_completed"