From patchwork Mon Nov 28 14:21:16 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: 26798 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp5703456wrr; Mon, 28 Nov 2022 06:21:54 -0800 (PST) X-Google-Smtp-Source: AA0mqf7/RbscmbC4nkppJLOkJO0572jELSobiceMDyicycyexnrHRLD8Ba1AWhe+d0QfM9yeLIC8 X-Received: by 2002:a05:6402:4515:b0:461:cf2b:627b with SMTP id ez21-20020a056402451500b00461cf2b627bmr46394222edb.73.1669645314405; Mon, 28 Nov 2022 06:21:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669645314; cv=none; d=google.com; s=arc-20160816; b=eOeDcZ5DG/fSTZPX2aPi1Z2K6eaPcssW/5dU2/+f7ATfEsED0QZIkS98h9Y6IrYTf6 839EnpusdWyAU9fEQtquWig7PV0QWFhw4IlAPEJOlxmXmkX1D05fEE+soVPtEEFAPffS U5k+JFvDeoQ/h1LFk6ngyUSLo+TBNm4ROWLAdvKMMDP516lwJWulCPJr8AT4AAXImW35 dYSPpNqjivp4ia3xee1QJGhFK7Nn2rKpLm9gxeuG7FYl4L9XbLazQqsjzeAxaZIQ6qiA xXcCjhra9tfkXuaGebfozg4US/9JJRnpGvV0j14fuavR96ZgFLPKyq9eP5Zbbg5pLk5o 0dPg== 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=1qowVkmXOnX7w76qQaiBWPfaJuv69+Qov4bg9uiMiNk=; b=HpTkql01/u6/Df7Opkyyi3cxJ4hj+7XOkBj5w86LGJm68UA3AB3Udh3aM5UZUr2FXq Z+K81btvIGi68DWyF0C+ARHg1i6D6ZsWCSTn4ckR9NuM67dsHIXTbzjQYXy2tkcyHdI9 zi8XXG59R7ULua3LmYFbki6UuGV4bVr1aO70ytqhs4CYgknJEytqDcR8pojkqCcGvWpH AiIp4vVrADFwccta1s9ji1Nrt8EUfX8gQ3E6yxDPN3rSAF9xt5MdnYwHwYND3vvOTxf4 zHglRKf+sGI6WFcimsmbJm28etd0YtR4BtPDBdKH16y2iE+NKguYCsfYLWqA19p6mVXy v6bA== 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 (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id n22-20020a509356000000b00458d43beac7si10234058eda.41.2022.11.28.06.21.54 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Nov 2022 06:21:54 -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 891A0384EF48 for ; Mon, 28 Nov 2022 14:21:51 +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 25D2C385B190 for ; Mon, 28 Nov 2022 14:21:25 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 25D2C385B190 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: bizesmtp73t1669645279t85azul9 Received: from server1.localdomain ( [58.60.1.22]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 28 Nov 2022 22:21:18 +0800 (CST) X-QQ-SSF: 01400000000000D0K000000A0000000 X-QQ-FEAT: SX/WFj88WPUqf1FJpYAM1nYQZyeNM/Ao4ZAf9HZiEV9eg8HCNfSTpK6nFsOvU dsAoADhb0P0ZEFLK3gCnJv/VhzaE4i1KS1KqSZpdC5kEvke5xn66es3OcmYmepMLWraisKz JSVhYib41TQ/q7+fE1cBE28q6Q4yg5I2G1BbRPfCT0Of0YTtN/Lr/tZzEVj2K7Fd4S405lq 7ARqTJWstSTaMxPCCWD6mSdost/BnvRdRA19nF94boCMFeN58mD4Ls5XOGoQRU8Oi8H2pbn XJUBjjwfmiIL/6Lw303NubaAmJgK/m7IfLDgFSYB3gNx86HCRKlfqi7aeY+su2Sc8F15uM8 5SJlm4BOwyKBO9koWTnSELWoYU5+MAn8WV6H8ZciJlG0znlzhHiPypVldWbeKRbh/U+aLYd Rr74pxacxLU= 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 tail && mask policy operand for vmclr, vmset, vmld, vmst Date: Mon, 28 Nov 2022 22:21:16 +0800 Message-Id: <20221128142116.245036-1-juzhe.zhong@rivai.ai> X-Mailer: git-send-email 2.36.1 MIME-Version: 1.0 X-QQ-SENDSIZE: 520 Feedback-ID: bizesmtp:rivai.ai:qybglogicsvr:qybglogicsvr7 X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_BARRACUDACENTRAL, 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?1750750005340901043?= X-GMAIL-MSGID: =?utf-8?q?1750750005340901043?= From: Ju-Zhe Zhong Since mask instruction doesn't need policy, so remove it to make it look reasonable. gcc/ChangeLog: * config/riscv/vector.md: Remove TA && MA operands. --- gcc/config/riscv/vector.md | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/config/riscv/vector.md b/gcc/config/riscv/vector.md index 3bb87232d3f..38da2f7f095 100644 --- a/gcc/config/riscv/vector.md +++ b/gcc/config/riscv/vector.md @@ -593,8 +593,6 @@ (unspec:VB [(match_operand:VB 1 "vector_mask_operand" "Wc1, Wc1, Wc1, Wc1, Wc1") (match_operand 4 "vector_length_operand" " rK, rK, rK, rK, rK") - (match_operand 5 "const_int_operand" " i, i, i, i, i") - (match_operand 6 "const_int_operand" " i, i, i, i, i") (reg:SI VL_REGNUM) (reg:SI VTYPE_REGNUM)] UNSPEC_VPREDICATE) (match_operand:VB 3 "vector_move_operand" " m, vr, vr, Wc0, Wc1")