From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id DA3C0398B840; Thu, 17 Sep 2020 16:57:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org DA3C0398B840 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1600361844; bh=tIllopmTKvuIilBuIrz54XcRjV90PXpULCt0JmKVkQQ=; h=From:To:Subject:Date:From; b=CDlWaBKQyluk7HTs8SBt9hYBOpFaMY2kenW+QKD9BLdXakYbgGtaQZzuVXKZhijuI 1qoA28Cu+PKzocqigp9sSGjNlIT72CB4TQeqoSXmMOm8SilUB4W2P2/QpdQ2rUwe0J kdA5qTATYMvJ8Z4WRm27+WF+CWzM4nWkJZ9Do1rY= MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="utf-8" From: Jakub Jelinek To: gcc-cvs@gcc.gnu.org Subject: [gcc(refs/vendors/redhat/heads/gcc-8-branch)] aarch64: Add early clobber for aarch64_store_exclusive. X-Act-Checkin: gcc X-Git-Author: Andre Vieira X-Git-Refname: refs/vendors/redhat/heads/gcc-8-branch X-Git-Oldrev: 50963df78129ae3fce03ce4ec7edf567332489de X-Git-Newrev: afe3fd8b7ace95b21dc35d0ca54e3bc392dbdbe9 Message-Id: <20200917165724.DA3C0398B840@sourceware.org> Date: Thu, 17 Sep 2020 16:57:24 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Sep 2020 16:57:25 -0000 https://gcc.gnu.org/g:afe3fd8b7ace95b21dc35d0ca54e3bc392dbdbe9 commit afe3fd8b7ace95b21dc35d0ca54e3bc392dbdbe9 Author: Andre Vieira Date: Thu Apr 16 10:16:07 2020 +0100 aarch64: Add early clobber for aarch64_store_exclusive. gcc/ChangeLog: 2020-04-16 Andre Vieira Backport from mainline. 2018-07-16 Ramana Radhakrishnan * config/aarch64/atomics.md (aarch64_store_execlusive): Add early clobber. Diff: --- gcc/ChangeLog | 9 +++++++++ gcc/config/aarch64/atomics.md | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 4b8c8d3be97..4cd2e2e2836 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,11 @@ +2020-04-16 Andre Vieira + + Backport from mainline. + 2018-07-16 Ramana Radhakrishnan + + * config/aarch64/atomics.md (aarch64_store_execlusive): Add + early clobber. + 2020-04-21 Martin Jambor Backport from master @@ -40,6 +48,7 @@ * config/i386/i386.c (rest_of_insert_endbranch): Insert ENDBR at function entry if function will be called indirectly. + 2020-04-15 Uroš Bizjak PR target/94603 diff --git a/gcc/config/aarch64/atomics.md b/gcc/config/aarch64/atomics.md index 686e39ff2ee..fba5ec6db58 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