From patchwork Thu Nov 2 02:46:51 2023 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: 160752 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:8f47:0:b0:403:3b70:6f57 with SMTP id j7csp89783vqu; Wed, 1 Nov 2023 19:47:35 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGuctu0d5EUZbpkStv6mPpEP3YeE/ve6YyodAMmPs3ZxKIgmwXiVlUvEgeKKvwdztKmr1h6 X-Received: by 2002:a05:622a:198a:b0:419:5162:5e0f with SMTP id u10-20020a05622a198a00b0041951625e0fmr21362767qtc.13.1698893254859; Wed, 01 Nov 2023 19:47:34 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1698893254; cv=pass; d=google.com; s=arc-20160816; b=KKmtnyMESf2+6tvykYvCnUfoR4bFyj6T8RcsbqcgR7txBXQo1I5oDvoKT6BOQx1XzI 3Sr/huG+unBsF3gvKkQeOIfwo4g+simvoJIKK5iJzfGj3SW1KzB/pjwJxUkwq/gZv4Fb kG78gq9dC0fOJhei0ymjSDQhvlxEM+g8zulwfhZ7J7lut9PWcqm+HXw7aVMmPEtkuRH3 hRzDcODge1dVqCXgEluB5VzkUDwEt30iSvI4GDtf+rPjWndaMzLOQ7XOdr2vrFzs/B5F LbPBpeMpT07H2dtLDUmT8E6LMxFkpkO5NYoTLYobsdKBsdlwEjL6eidUZymbg9MHFtro RSCw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=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:arc-filter:dmarc-filter:delivered-to; bh=Tb8WkTtFNUDjoXzSt0peRaT2PE2kQwPDor+s8l6tsyY=; fh=12MRPJmZ1mgDpHqWoogMKqnaGRGM2b7lcuJroqfjJiw=; b=zIiMyhti2XIRKpQn/PuiPnD90g5JooJcmDRMTEbDVrYgQVco9qBgEahRQVogTk4HaF HwdNXq++q8Wp1q2XtdWHDd32oI9feMZ+uSNtJbspDjxI0l5O/GIooZ62gP/vBrANEGgn tft9nOMruAt3MYxMq0pZM24cefU6/itgqLZcvUiEmW7wDNQZjngoPCsaW8uvVTcT72C5 asDwsIa2rhp0csigZ4aewqYItgTdxbvYPeTmytOqBQKdMvGKojNAfhS6FEpGtls7DP15 KJ8vBDBeL0zXAzOPzK7EzdypB4Vp7k0/mO8SHsW67EYxvUXChr4YCFKL2heJEs83197t fAIQ== ARC-Authentication-Results: i=2; mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from server2.sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id c11-20020ac87dcb000000b00417eb3b1759si3607724qte.719.2023.11.01.19.47.34 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Nov 2023 19:47:34 -0700 (PDT) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 947A63858434 for ; Thu, 2 Nov 2023 02:47:34 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbg151.qq.com (smtpbg151.qq.com [18.169.211.239]) by sourceware.org (Postfix) with ESMTPS id 91F993858D35 for ; Thu, 2 Nov 2023 02:46:59 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 91F993858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=rivai.ai Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=rivai.ai ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 91F993858D35 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=18.169.211.239 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698893230; cv=none; b=m/gw+y4V6WN06p+LhdtqT2YLSLAZmVu4BG6nVjP1sk2gNTC12Zfj4XTpHJEhf9h+FDYXBfbTSuGXeVUreaarwSN+AUYw3emJLQIYJI1HuuUQQik6bJ3wxt1BKB6ltcVkxkmRBdg1xFj284mw7eFK0uqBhy1IFxndtUPitlvQeHc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1698893230; c=relaxed/simple; bh=bsBzg9zl15MYQa2REeIuylYvWRh6ItF1orp1ZZV68os=; h=From:To:Subject:Date:Message-Id:MIME-Version; b=nMENhunHPZYKb0MzvTsV3r41dPZ6KbqcQLKFYshoWf7GZWg9k8SLZxSst3dmKyTii39hD9xPnS4OF7/RiWC6v25lJgYw8AP77Y3ImYDp1it4hOxkm+bbIQfyV/AWWOlo6Ge3E+FfNekgCC8/fMQQKOR4hGlxShMPh/FF3x7JAlY= ARC-Authentication-Results: i=1; server2.sourceware.org X-QQ-mid: bizesmtp79t1698893214tyd9pvuq Received: from rios-cad121.hadoop.rioslab.org ( [58.60.1.9]) by bizesmtp.qq.com (ESMTP) with id ; Thu, 02 Nov 2023 10:46:53 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: +ynUkgUhZJleovsa+h6xGnE4QNdQZZxeyk65xf7jUtm3ZlMuD/yJHy1QVnOmD qEunqe+pNWlmmBbqo+3Pgcq9a5SaZewltJrLt54NIePODt9qGPeGdKxqQSYQYPcw/ZPtN7J hz+r2wuXqZ3OcEv8dCEPA2086E/LTdBp08SPjvzWw5Humzn7CJMH+oLl5k0OIXMTbtaC2wu Mop1yRQTq7mdpei6ytJycpnEFTc6srsM+S5TuGV+V7DScbDcbZ/s9QPeg+pU/H5fUHt+cWT my3vbRJGKlzYNxlbmqKzEnFdZeiRedDrLWPVoCbRueKhILT2p/xIHETznMNJ9Sp06cH4WZx XaIfsaxGg3fAtWWnjD+nDWIRcBP6piqH3L71xsHyvrV7LZz8ZWFpOErvBVxJiii5Uk26elB X-QQ-GoodBg: 2 X-BIZMAIL-ID: 6878376960564760792 From: Juzhe-Zhong To: gcc-patches@gcc.gnu.org Cc: kito.cheng@gmail.com, kito.cheng@sifive.com, jeffreyalaw@gmail.com, rdapp.gcc@gmail.com, Juzhe-Zhong Subject: [Committed] RISC-V: Fix redundant attributes Date: Thu, 2 Nov 2023 10:46:51 +0800 Message-Id: <20231102024651.2347027-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:qybglogicsvrgz:qybglogicsvrgz7a-one-0 X-Spam-Status: No, score=-12.2 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, T_SCC_BODY_TEXT_LINE 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.30 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 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1781418693464303949 X-GMAIL-MSGID: 1781418693464303949 Notice that there are some reundant 'vimov' codes in attribute. Committed as it is obvious. gcc/ChangeLog: * config/riscv/vector.md: Fix redundant codes in attributes. --- gcc/config/riscv/vector.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md index fabd18b4db7..28baee59a9b 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -827,13 +827,13 @@ ;; The avl type value. (define_attr "avl_type_idx" "" - (cond [(eq_attr "type" "vlde,vldff,vste,vimov,vimov,vimov,vfmov,vext,vimerge,\ + (cond [(eq_attr "type" "vlde,vldff,vste,vimov,vfmov,vext,vimerge,\ vfsqrt,vfrecp,vfmerge,vfcvtitof,vfcvtftoi,vfwcvtitof,\ vfwcvtftoi,vfwcvtftof,vfncvtitof,vfncvtftoi,vfncvtftof,\ vfclass,vired,viwred,vfredu,vfredo,vfwredu,vfwredo,\ vimovxv,vfmovfv,vlsegde,vlsegdff") (const_int 7) - (eq_attr "type" "vldm,vstm,vimov,vmalu,vmalu") + (eq_attr "type" "vldm,vstm,vmalu,vmalu") (const_int 5) ;; If operands[3] of "vlds" is not vector mode, it is pred_broadcast.