From 1ffdcafd1ac4b403fabb6b8065c9200b7b4f9ecc Mon Sep 17 00:00:00 2001 From: Andrew Pinski Date: Sun, 20 Dec 2015 14:01:32 -0800 Subject: [PATCH] 2015-12-20 Andrew Pinsi * config/aarch64/atomics.md (aarch64_atomic__fetch_lse): Add early clobber to the scratch register. From-SVN: r231864 --- gcc/ChangeLog | 6 ++++++ gcc/config/aarch64/atomics.md | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index d8b5be3a1e7..f77d3918828 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2015-12-20 Andrew Pinsi + + * config/aarch64/atomics.md + (aarch64_atomic__fetch_lse): Add early clobber + to the scratch register. + 2015-12-20 Sujoy Saraswati PR tree-optimization/61441 diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64/atomics.md index 68dc27add92..5057563b99e 100644 --- a/gcc/config/aarch64/atomics.md +++ b/gcc/config/aarch64/atomics.md @@ -428,7 +428,7 @@ (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" -- 2.30.2