aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/aarch64/atomics.md
diff options
context:
space:
mode:
authorRamana Radhakrishnan <ramana.radhakrishnan@arm.com>2018-07-16 09:03:48 +0000
committerRamana Radhakrishnan <ramana@gcc.gnu.org>2018-07-16 09:03:48 +0000
commit1d896f48fa2f796ba13773ab735ef40fa3afb257 (patch)
tree17ea03841defea45b8b99cd9fe0b7b230caa8700 /gcc/config/aarch64/atomics.md
parent5e5ef52c23448a0c4c4be3f2093470c990c8c01f (diff)
downloadgcc-1d896f48fa2f796ba13773ab735ef40fa3afb257.zip
gcc-1d896f48fa2f796ba13773ab735ef40fa3afb257.tar.gz
gcc-1d896f48fa2f796ba13773ab735ef40fa3afb257.tar.bz2
[Patch AArch64] Add early clobber for aarch64_store_exclusive.
From-SVN: r262686
Diffstat (limited to 'gcc/config/aarch64/atomics.md')
-rw-r--r--gcc/config/aarch64/atomics.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64/atomics.md
index 68dc65c..cd8c44e 100644
--- a/gcc/config/aarch64/atomics.md
+++ b/gcc/config/aarch64/atomics.md
@@ -530,7 +530,7 @@
)
(define_insn "aarch64_store_exclusive<mode>"
- [(set (match_operand:SI 0 "register_operand" "=r")
+ [(set (match_operand:SI 0 "register_operand" "=&r")
(unspec_volatile:SI [(const_int 0)] UNSPECV_SX))
(set (match_operand:ALLI 1 "aarch64_sync_memory_operand" "=Q")
(unspec_volatile:ALLI