From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtpbgsg1.qq.com (smtpbgsg1.qq.com [54.254.200.92]) by sourceware.org (Postfix) with ESMTPS id D54003858C74 for ; Fri, 27 Jan 2023 22:57:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D54003858C74 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: bizesmtp89t1674860237t2w5swg7 Received: from rios-cad5.localdomain ( [58.60.1.11]) by bizesmtp.qq.com (ESMTP) with id ; Sat, 28 Jan 2023 06:57:16 +0800 (CST) X-QQ-SSF: 01400000000000E0L000B00A0000000 X-QQ-FEAT: xfwQ8RAy+bI1qzDxv59uzsw8kai5WNvdc2+HTRlUhgmlF9rcPwCDfwWDsujzP 7YH4630TjNlGCfTD6ThOz2oHAiruHwYBmOCRguvkkbBmK4kcQEac3njHUJnh53kNVaH6t5N xrEEnYnF9DL/tWkszAj0DQPKJMgAtpQ7OhYL2D1XsgzTTnUtYz3giwkuU3nTTXwY6nVXSPv U4wP+U4pr7C9ZQbIQDkqEiOzTiUxFz/AYJgQG8DEwpilvVZwEWn1bYQIAhhZ0dNJaH8TyzK ejFzzxaDHaS0z2Z1Cz0x1beEdAHYJt517bMRAXSUsddtwypSrvDjEhRyxJKVlt05JDYMPOx Nj6byE4Sa9APNsJgkTTnibXNVi+LlfW22XGDB066rZZw22VRkY= 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 redundant attributes Date: Sat, 28 Jan 2023 06:57:14 +0800 Message-Id: <20230127225714.261700-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvr:qybglogicsvr7 X-Spam-Status: No, score=-12.6 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 List-Id: From: Ju-Zhe Zhong --- 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 8c60eb20d72..4319266974d 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -208,26 +208,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,vimov,vfmov,vlds") -- 2.36.3