From patchwork Thu Jan 20 11:27:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Richard Earnshaw X-Patchwork-Id: 50270 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 777333857C7E for ; Thu, 20 Jan 2022 11:29:46 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 777333857C7E DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1642678186; bh=h7tjzrYqsOyQVpnLsYBc9vU/CH/sCMlXF4vSEQgs3Cw=; h=To:Subject:Date:In-Reply-To:References:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=ozjk+tk9ty27Q0pD18Ch9SCv2hrsT3IAgCVmgwvpnm1f5ZMYmPtXU+MSA07eiCXqz Ni6t8zjLklA9RlOWXHm09ln+y12SP0WLjbZo4MAnO4QEoom4XcpQhqe6NWOw5Y3KVG NXgAeyV2dNdmY62UCmGCb+X47GFw7tWBsvyXLqJc= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id DEC4F3858D37 for ; Thu, 20 Jan 2022 11:28:20 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DEC4F3858D37 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 8EA71ED1; Thu, 20 Jan 2022 03:28:20 -0800 (PST) Received: from e126323.arm.com (unknown [10.57.36.197]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 0A1503F774; Thu, 20 Jan 2022 03:28:19 -0800 (PST) To: GCC patches Subject: [PATCH 1/7] arm: Disambiguate multiple crypto patterns with the same name. Date: Thu, 20 Jan 2022 11:27:18 +0000 Message-Id: <20220120112724.830872-2-rearnsha@arm.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220120112724.830872-1-rearnsha@arm.com> References: <20220120112724.830872-1-rearnsha@arm.com> MIME-Version: 1.0 X-Spam-Status: No, score=-13.7 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, KAM_SHORT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Richard Earnshaw via Gcc-patches From: Richard Earnshaw Reply-To: Richard Earnshaw Cc: Richard Earnshaw Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" No functional change, but arm/crypto.md has multiple pattenrs all called crypto_, which makes references to them ambiguous, so add the iterator base to the pattern name so that it is distinct in the commit logs. gcc/ChangeLog: * config/arm/crypto.md (crypto_): Add iterator to pattern name to disambiguate. (crypto_): Likewise. (crypto_): Likewise. (crypto_): Likewise. (crypto_): Likewise. (crypto__lb): Likewise. --- gcc/config/arm/crypto.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gcc/config/arm/crypto.md b/gcc/config/arm/crypto.md index 2425641e33f..6071ea17eac 100644 --- a/gcc/config/arm/crypto.md +++ b/gcc/config/arm/crypto.md @@ -19,7 +19,7 @@ ;; . -(define_insn "crypto_" +(define_insn "crypto_" [(set (match_operand: 0 "register_operand" "=w") (unspec: [(match_operand: 1 "register_operand" "w")] @@ -29,7 +29,7 @@ (define_insn "crypto_" [(set_attr "type" "")] ) -(define_insn "crypto_" +(define_insn "crypto_" [(set (match_operand:V16QI 0 "register_operand" "=w") (unspec:V16QI [(xor:V16QI @@ -83,7 +83,7 @@ (define_insn "*aarch32_crypto_aesd_fused" (set_attr "length" "8")] ) -(define_insn "crypto_" +(define_insn "crypto_" [(set (match_operand: 0 "register_operand" "=w") (unspec: [(match_operand: 1 "register_operand" "0") @@ -94,7 +94,7 @@ (define_insn "crypto_" [(set_attr "type" "")] ) -(define_insn "crypto_" +(define_insn "crypto_" [(set (match_operand: 0 "register_operand" "=w") (unspec: [(match_operand: 1 "register_operand" "0") (match_operand: 2 "register_operand" "w") @@ -145,7 +145,7 @@ (define_insn "crypto_vmullp64" of the V4SI, adjusted for endianness. Required due to neon_vget_lane and neon_set_lane that change the element ordering in memory for big-endian. */ -(define_expand "crypto_" +(define_expand "crypto_" [(set (match_operand:V4SI 0 "register_operand") (unspec: [(match_operand: 1 "register_operand") @@ -160,7 +160,7 @@ (define_expand "crypto_" DONE; }) -(define_insn "crypto__lb" +(define_insn "crypto__lb" [(set (match_operand:V4SI 0 "register_operand" "=w") (unspec: [(match_operand: 1 "register_operand" "0")