public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc(refs/vendors/AWS/heads/Arm64/gcc-7-branch)] Add early clobber for aarch64_store_exclusive.
@ 2020-10-01 16:37 Sebastian Pop
  0 siblings, 0 replies; only message in thread
From: Sebastian Pop @ 2020-10-01 16:37 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:b8e2b779d1815147073e9dcb04a1f8f9d96b1a62

commit b8e2b779d1815147073e9dcb04a1f8f9d96b1a62
Author: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
Date:   Mon Jul 16 09:03:48 2018 +0000

    Add early clobber for aarch64_store_exclusive.
    
    2018-07-16  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
    
    gcc/
           * config/aarch64/atomics.md (aarch64_store_execlusive<mode>): Add
           early clobber.
    
    (cherry picked from commit 1d896f48fa2f796ba13773ab735ef40fa3afb257)

Diff:
---
 gcc/config/aarch64/atomics.md | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64/atomics.md
index 27fc1933ce3..eb4b95c2453 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


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2020-10-01 16:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-01 16:37 [gcc(refs/vendors/AWS/heads/Arm64/gcc-7-branch)] Add early clobber for aarch64_store_exclusive Sebastian Pop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).