From patchwork Wed Oct 5 19:08:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 1745 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp746970wrs; Wed, 5 Oct 2022 12:12:10 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5Xb8hTz1Fmt3ZjeVD4sPgT+Al1B2bWmeGplSFUbrtNyDnH+QiVO1WIbwsaJPIlGCPhlWh6 X-Received: by 2002:a17:907:9803:b0:782:2d55:f98b with SMTP id ji3-20020a170907980300b007822d55f98bmr856533ejc.338.1664997130362; Wed, 05 Oct 2022 12:12:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664997130; cv=none; d=google.com; s=arc-20160816; b=kByB3vTUnuMGaUiSKnfXoIn9mqyioywkT796dqV1PFbcAD9JRh7ry69tMzNRDowZNI cWW7AWvpj7pa+I49BPmJ6TbxYu3Wy4V0UVrDi7qqRzQXkvEX8PjKGFxrZV2yvI8aG2Nh tX5OFfb0oorq+gaPQ36033QFPuCBLZ/WWeJ9HnkPrMmZ2yFPlWY/sO8nzrB6HlGKZkwV 8txFPbtZJJX5CTr1no9db3JseiMwfedoFzPg5i1AvfSQ0pkfnLqdxJFGj+eqWAxnXUom wxaIPVRF1ITaV4/pVKqDdK12KGiB5s2aBbzjWOHmXP9mgQVQx01xR9UWgKWeNa2omcDB lpxQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:references:in-reply-to :references:in-reply-to:message-id:date:subject:to:from:dmarc-filter :delivered-to; bh=SZDKiq7fC6lSoNfekpYgh/3aZ7iTF/U0/4HJsrcBc4c=; b=E3iGQpqpx+P71buInQx7eZIaCg5470yBGy5emPyFzZeGItAxITswATE35G7xV/hUSH VSbS7zg1S9yCOkOm9CxEzQPaEO+CypK6FaFjTSOTzKvuTf4HfatBFk8iKdy1LdXBumIR wWEFg0RD72mUQSm3U7PLfN/lfg+2+aJaSm9Kj3pn8Z+EDziO2cPtdf8GgM96QIhNScWq 3c6PzIimsVYcnlz1iHh7QLAPhVulcjSNWp1t4OPLMQV0j3g4k0kIuWxfz/pmhdOjJlUa p/wYUp8vGKuZmD7nCje/xh0SpVqKoqOP+8rJ7URa35C+gmCz3bvXBsiOTX6+EDcTg8ol kT0g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id 12-20020a170906318c00b0078183bdcafbsi13846801ejy.164.2022.10.05.12.12.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Oct 2022 12:12:10 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 06368385BC13 for ; Wed, 5 Oct 2022 19:11:35 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from gcc1-power7.osuosl.org (gcc1-power7.osuosl.org [140.211.15.137]) by sourceware.org (Postfix) with ESMTP id 745CC385828F for ; Wed, 5 Oct 2022 19:09:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 745CC385828F Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=kernel.crashing.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=gcc1-power7.osuosl.org Received: by gcc1-power7.osuosl.org (Postfix, from userid 10019) id 1A7BB12406DF; Wed, 5 Oct 2022 19:09:09 +0000 (UTC) From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Subject: [PATCH 3/3] rs6000: Remove the wD constraint Date: Wed, 5 Oct 2022 19:08:41 +0000 Message-Id: <0056cee42da2cbda7fcc29d333c5240ac323ca4a.1664994970.git.segher@kernel.crashing.org> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: References: In-Reply-To: References: X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) 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: , Cc: Segher Boessenkool , dje.gcc@gmail.com, "Kewen.Lin" Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org Sender: "Gcc-patches" X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1745876031292651763?= X-GMAIL-MSGID: =?utf-8?q?1745876031292651763?= 2022-10-05 Segher Boessenkool * config/rs6000/constraints.md (wD): Delete. * doc/md.texi (Machine Constraints): Adjust. --- gcc/config/rs6000/constraints.md | 6 ------ gcc/doc/md.texi | 3 --- 2 files changed, 9 deletions(-) diff --git a/gcc/config/rs6000/constraints.md b/gcc/config/rs6000/constraints.md index 5a44a92142e5..54fef8d9996e 100644 --- a/gcc/config/rs6000/constraints.md +++ b/gcc/config/rs6000/constraints.md @@ -107,12 +107,6 @@ (define_constraint "wB" (match_test "TARGET_P8_VECTOR") (match_operand 0 "s5bit_cint_operand"))) -(define_constraint "wD" - "@internal Int constant that is the element number of the 64-bit scalar - in a vector." - (and (match_code "const_int") - (match_test "TARGET_VSX && (ival == VECTOR_ELEMENT_SCALAR_64BIT)"))) - (define_constraint "wE" "@internal Vector constant that can be loaded with the XXSPLTIB instruction." (match_test "xxspltib_constant_nosplit (op, mode)")) diff --git a/gcc/doc/md.texi b/gcc/doc/md.texi index bb42ee1da36c..d0a71ecbb806 100644 --- a/gcc/doc/md.texi +++ b/gcc/doc/md.texi @@ -3267,9 +3267,6 @@ Like @code{b}, if @option{-mpowerpc64} is used; otherwise, @code{NO_REGS}. @item wB Signed 5-bit constant integer that can be loaded into an Altivec register. -@item wD -Int constant that is the element number of the 64-bit scalar in a vector. - @item wE Vector constant that can be loaded with the XXSPLTIB instruction.