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: =?utf-8?b?6ZKf5bGF5ZOy?= X-Patchwork-Id: 1715662 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=8.43.85.97; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-384) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4NX8J11plyz23ym for ; Wed, 14 Dec 2022 19:52:16 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 944A23833A25 for ; Wed, 14 Dec 2022 08:52:13 +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+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" 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")