From: Ramana Radhakrishnan Date: Mon, 16 Jul 2018 09:03:48 +0000 (+0000) Subject: [Patch AArch64] Add early clobber for aarch64_store_exclusive. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1d896f48fa2f796ba13773ab735ef40fa3afb257;p=gcc.git [Patch AArch64] Add early clobber for aarch64_store_exclusive. From-SVN: r262686 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 5ed47c13633..3e394ae407c 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-07-16 Ramana Radhakrishnan + + * config/aarch64/atomics.md (aarch64_store_execlusive): Add + early clobber. + 2018-07-16 Eric Botcazou PR tree-optimization/86514 diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64/atomics.md index 68dc65c6d00..cd8c44e20ab 100644 --- a/gcc/config/aarch64/atomics.md +++ b/gcc/config/aarch64/atomics.md @@ -530,7 +530,7 @@ ) (define_insn "aarch64_store_exclusive" - [(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