From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-vs1-xe36.google.com (mail-vs1-xe36.google.com [IPv6:2607:f8b0:4864:20::e36]) by sourceware.org (Postfix) with ESMTPS id A23E43858D20 for ; Sat, 28 Jan 2023 03:35:13 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A23E43858D20 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-vs1-xe36.google.com with SMTP id a24so5164487vsl.2 for ; Fri, 27 Jan 2023 19:35:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Gg/4Fte+AaRAvaukaLAksE32YnvqCNzt9qQO4THUVcc=; b=Tb2AAaIxK0sl8Sx2d7p9nQveb58AGRchD9/reAQWzM41Asa3PVdETKSBGnMTQElA7I EtfpUitnXmCbdchyXhJL1M1YDfxcaNUc8e4MIMQxL/jSboPyR8QfpG+D6yMG9sD9Ybrn 9PYgJhymPGFehceqLXW7XIJBK6fFS++431nvOgd6Ob6/c7LYx3iJoc4KcrmrgX5snhx+ 9bopeEaU/eMbV0Rd89kVuhAkGG5YbSXkxWYDq0SrQdpaJ5NbI2hfL382ta8vXE0FRQUJ xfSKqHeYCYjk+yZH9D2DfaLwAegCjZEm618DTWBDc3I8trzrbq/63IwXvwpLqtlwGnhl 2a5A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Gg/4Fte+AaRAvaukaLAksE32YnvqCNzt9qQO4THUVcc=; b=28rZsM41kXz0wcE/j10mpO8tZ0dsbJ2BHAV4+G2bdo++ENGwa1w5qsJQ9jmKJRE+ZO GrMQQxiQB6XLugzRwWos2rHps8YcKasGPILCUuGOISr2XE+utLZftnbvxBxZOVDsNBeS vpAHcfP9zDRLcwBmLZoXAo7IXDEPh5YDThlm/0LLOM98WVUhWI9zz6HgKnFxb6lcltZB ijFMr9+0tiVShU8WNGtVHqbPKJ33ncDrp8/3Tp1RiwgupQoH8+jQBMCjlgqGZwTwXa0Y 33W/m3QPJl9RdD6OTkCj9803A8q8nc3LDXApPfk1BTELGHdjqnLQs1wlcDPZlXcSswiu nvPg== X-Gm-Message-State: AFqh2kqbgY89x4QVVHFtJs0LYSVdcqfxhIDNPpB8mC9OgGWxU54Fkz07 7EWnWmyIVcI8tPCXgL0iFlVh32JFba3d1CVOmxCVtrtB X-Google-Smtp-Source: AMrXdXt64bawjYicmupKWekI/u53hqse90znMVT0IWB+OxeXyFhwIOkm/+oPNZykTM5fdab/xVGtAa9meK4mU0rpxW8= X-Received: by 2002:a05:6102:cd1:b0:3d3:e345:ca85 with SMTP id g17-20020a0561020cd100b003d3e345ca85mr4750400vst.40.1674876912758; Fri, 27 Jan 2023 19:35:12 -0800 (PST) MIME-Version: 1.0 References: <20230127225714.261700-1-juzhe.zhong@rivai.ai> In-Reply-To: <20230127225714.261700-1-juzhe.zhong@rivai.ai> From: Kito Cheng Date: Sat, 28 Jan 2023 11:35:01 +0800 Message-ID: Subject: Re: [PATCH] RISC-V: Remove redundant attributes To: juzhe.zhong@rivai.ai Cc: gcc-patches@gcc.gnu.org, palmer@dabbelt.com Content-Type: multipart/alternative; boundary="0000000000006d762605f34aab2d" X-Spam-Status: No, score=-8.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,GIT_PATCH_0,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,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: --0000000000006d762605f34aab2d Content-Type: text/plain; charset="UTF-8" committed, thanks! On Sat, Jan 28, 2023 at 6:58 AM wrote: > 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 > > --0000000000006d762605f34aab2d--