From patchwork Wed Oct 5 19:08:38 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Segher Boessenkool X-Patchwork-Id: 46 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp746440wrs; Wed, 5 Oct 2022 12:10:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7jWsTmGWsRRbuoCZz+bWJjdlN4vr3IOZLUEWdf/RDYaaeduB02UDiwctbXLzafKP07YE5l X-Received: by 2002:a17:906:5a5e:b0:78d:2ed1:5b07 with SMTP id my30-20020a1709065a5e00b0078d2ed15b07mr937252ejc.38.1664997049065; Wed, 05 Oct 2022 12:10:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664997049; cv=none; d=google.com; s=arc-20160816; b=vzL7vYebqndk5yKMChc0qqPVcxCBx71L6IgXRL9jtXoXQ9eFuU+ygXkAnhUpgvbpUl 8eTxLsA03pzICw7ymX4vfqau8NBsTszivxcDY6Zh2cmHIPzOPrrOmpjn6rlbuwOQmo56 AeZREBao8xsNFugKFAdKjtF5F3r4ZF5isZR9MdqCGnsTpJjRYUU0ltZWMr0MgUQJHyzu PLtSLpdiuKhRqj/988GwSdHR3pUFE0lrvCv0XoEVwHNwkN7lkcawPmKWui1AABcb7dgQ BtEZcXlgx13GlppPM0yiccKCzbWZynUWEmciXkHDQ2xAFrmoXS/AnChWN4v2n3/X9U51 vtDQ== 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:message-id:date:subject:to:from :dmarc-filter:delivered-to; bh=aZWB8Bi/zKu0J28CDRmmxMoB+UQrQ8yiCRPLjE/PbCc=; b=FXKH0UfYae0Hq3Bmz1fYiRAQ1iEcR+F0ghMsQTVKYkq3UuIeDRqYrwWLGoqnaQpg8I VuwNvIS6JSBv99Aqdl3sBXlRZbgqHfPmFLapvY5Mw/IhwNstT+bupfVjiAjKtMAorInt JP7tZLPuhP/Hx4NJQJ4cZl6kOZCse5DzLjPtqlKW2xPw47e4hR0zVPshyo+oFdF8gW// rXqQa8bQ+2tQjoBey2e3idmNsVMZgXu1JYhF6NNx7PvdrzqkiRikaFr90mK6pbPTSUr4 UtxfnvS4kp8aAImCeWRzPuZ+3A7POFGndC8WZcpWuaCrkl3MwwcwLArpgarJtBV2y77y JjbA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id l21-20020a170906795500b007801a197a1bsi16476833ejo.449.2022.10.05.12.10.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Oct 2022 12:10:49 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 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 24AD13857BAE for ; Wed, 5 Oct 2022 19:10:40 +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 9920D3858C2C for ; Wed, 5 Oct 2022 19:08:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 9920D3858C2C 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 CFC3F12406CF; Wed, 5 Oct 2022 19:08:50 +0000 (UTC) From: Segher Boessenkool To: gcc-patches@gcc.gnu.org Subject: [PATCH 0/3] rs6000: Get rid of wD Date: Wed, 5 Oct 2022 19:08:38 +0000 Message-Id: X-Mailer: git-send-email 1.8.3.1 X-Spam-Status: No, score=-6.5 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_LAZY_DOMAIN_SECURITY, SPF_HELO_NONE, SPF_NONE, TXREP autolearn=no 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?1745875945661401998?= X-GMAIL-MSGID: =?utf-8?q?1745875945661401998?= This series rewrites the code now using the wD constraint, because this constraint is a) unnecessary to have at all, and b) we want to use the constraint name for a more mnemonic purpose. As an extra benefit the new code is simpler than the original was. I'll commit this to trunk shortly. Segher Segher Boessenkool (3): rs6000: Remove "wD" from *vsx_extract__store rs6000: Rework vsx_extract_ rs6000: Remove the wD constraint gcc/config/rs6000/constraints.md | 6 --- gcc/config/rs6000/vsx.md | 85 +++++++++++++++++++--------------------- gcc/doc/md.texi | 3 -- 3 files changed, 40 insertions(+), 54 deletions(-)