From patchwork Wed Dec 14 08:51:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "juzhe.zhong@rivai.ai" X-Patchwork-Id: 33110 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:e747:0:0:0:0:0 with SMTP id c7csp91634wrn; Wed, 14 Dec 2022 00:52:29 -0800 (PST) X-Google-Smtp-Source: AA0mqf5KiHDeYcPiaUPeGF+vSVSAp08POuf6XgC1BLzWpXPZajPG/UYjM7w0bxEyfCzJmh9zClkJ X-Received: by 2002:a17:906:710:b0:7c0:f462:575a with SMTP id y16-20020a170906071000b007c0f462575amr19206349ejb.29.1671007949494; Wed, 14 Dec 2022 00:52:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1671007949; cv=none; d=google.com; s=arc-20160816; b=kPkaeb97+IpGmryk4d6IgEcXWfOwuXWvBIXxOMLRQC7H1iu1Nzc1HXH/c/h2sxTahJ Jd+GMIcoIzTkOsbrk+5y+s4YndtoG7Z0oCc0QWAg5GAZSAurN1XfETYBB+T6KLVnVt7C ZwGOKlLMwQuW1F935VXfOx5uJri6PTgOl8YMVuq+ZrIziuL3awEN+7dGvX6bY+YdtV/s 0bJYUyIR3tptG/QHytTiqS0bI3cAfhbTKXYRy6UvjZPGaUXx3y1G+vpUz5BGjwh9Q5bs DDILn8AbV0eYpGKGibKPmcXsWLPz556ZQ/8dYWN7Q9l3vM+mwQ7moQs5RiN8sobN6WSu u+gw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:feedback-id :content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:dmarc-filter:delivered-to; bh=Frm7XUipVUeSFUAJdCF448ZHtfBVVnC+OsZjRcLKDfs=; b=TTZ0Oyq2PIfkRoKBJAJE3PcvtmxHxDNZm8w7FanRGTx5TqvE4BIfhjsHA3nw1QdCJ0 IXFKlNJZH5lZKkcwNorB3xYiq8m2vFETZn6JDc5M25hkKk0+8+EJH3OtcsFczwUdZ+Mo q0bq5OtducOVhdXD+pZfnECfTv4JfgDjRsQJmlScmjOT6jwJxWPBgGvHxnLfGt+P84js L651M9Eyo0qH/xlZ4GtpeX2fWA7jU7hXTBqI/LsodQ6dvbJZQqp4zHnRSZBoLvd987KW 3CJ3ap2Ni39zNALNHgiJeLMYbPLqIUZN+FzQD5vby+88tBD6GgbYtdvs7yX/buh3BcJ5 itHg== 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 h7-20020a05640250c700b0046965a49126si13694046edb.528.2022.12.14.00.52.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 14 Dec 2022 00:52:29 -0800 (PST) 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 BE3033833A3D for ; Wed, 14 Dec 2022 08:52:25 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgau1.qq.com (smtpbgau1.qq.com [54.206.16.166]) by sourceware.org (Postfix) with ESMTPS id B9F4D3833EBD for ; Wed, 14 Dec 2022 08:51:58 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org B9F4D3833EBD Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai X-QQ-mid: bizesmtp70t1671007911tfg2d95e Received: from rios-cad5.localdomain ( [58.60.1.11]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 14 Dec 2022 16:51:50 +0800 (CST) X-QQ-SSF: 01400000000000D0L000000A0000000 X-QQ-FEAT: +ynUkgUhZJldKtJDqvsxT+dd3OtQLka/jJBwkj5CZjnG20g+L7qYuZNzOpMyX h1hIYXOvBM4wmHk1XqFZNAcpzaaCxfkRL4afpcGFGYRLxob/66mj1awt8Yis2NRl1QF0YSM Oky65TEj4ChhltbTL2+YCh5oQpOKNB+GDuseIVBfEEkJsX3D/wreTvSJc4uPW8soY/U+ZeY A79HNf5misnZAz/p3K/7Ii+sFNfnkt0PDAXZITrzwvP3x3ABezpTuEd9rerNRjeK41JoYDp vkbAsZfFFDjk997MqfQCVZ9iPWG74xPYiqzYnYQnRpUqwpdV36cLLczj9fKXtDozf/jviva IgsWD9QnxdZSKh9xZDj7eCQUHhLk/VKo1lap8DCEs93EUZnc/BmtoOuFNDQkwIx1qTyVRaq pTUaOKVyU4s= X-QQ-GoodBg: 2 From: juzhe.zhong@rivai.ai To: gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, palmer@dabbelt.com, Ju-Zhe Zhong Subject: [PATCH] RISC-V: Remove unused redundant vector attributes Date: Wed, 14 Dec 2022 16:51:48 +0800 Message-Id: <20221214085148.229220-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvr:qybglogicsvr7 X-Spam-Status: No, score=-12.8 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, 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: , 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?1752178831753697878?= X-GMAIL-MSGID: =?utf-8?q?1752178831753697878?= From: Ju-Zhe Zhong I found that I forgot to remove these redundant attributes. Sorry about that. gcc/ChangeLog: * config/riscv/vector.md (): Remove redundant attributes. --- gcc/config/riscv/vector.md | 20 -------------------- 1 file changed, 20 deletions(-) diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md index 3bfda652318..7dfadaa96b6 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -219,26 +219,6 @@ (const_int 4)] (const_int INVALID_ATTRIBUTE))) -;; The index of operand[] to get the tail policy op. -(define_attr "tail_policy_op_idx" "" - (cond [(eq_attr "type" "vlde,vste,vimov,vfmov,vlds") - (const_int 5)] - (const_int INVALID_ATTRIBUTE))) - -;; The index of operand[] to get the mask policy op. -(define_attr "mask_policy_op_idx" "" - (cond [(eq_attr "type" "vlde,vste,vlds") - (const_int 6)] - (const_int INVALID_ATTRIBUTE))) - -;; The index of operand[] to get the mask policy op. -(define_attr "avl_type_op_idx" "" - (cond [(eq_attr "type" "vlde,vlde,vste,vimov,vimov,vimov,vfmov,vlds,vlds") - (const_int 7) - (eq_attr "type" "vldm,vstm,vimov,vmalu,vmalu") - (const_int 5)] - (const_int INVALID_ATTRIBUTE))) - ;; The tail policy op value. (define_attr "ta" "" (cond [(eq_attr "type" "vlde,vste,vimov,vfmov,vlds")