From patchwork Tue Aug 22 23:06:50 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: 136610 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a7d1:0:b0:3f2:4152:657d with SMTP id p17csp123027vqm; Tue, 22 Aug 2023 16:07:38 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFlNjYDo+E/ey/4tdxx0bJP3/3siMm9dHvi1P8RkvB72DtOtmKnJ5GRYvY+r43J5lyci+hf X-Received: by 2002:a2e:9c1a:0:b0:2bc:b224:98ac with SMTP id s26-20020a2e9c1a000000b002bcb22498acmr7395018lji.31.1692745658193; Tue, 22 Aug 2023 16:07:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692745658; cv=none; d=google.com; s=arc-20160816; b=NlvjeMi5wgWX2QPpHLRstMg3Rn6a9L+HheI+v/BP/MSkmstMEa4OQ5VDcEmsu0DeoY /Kup4aNmn45rrKd+0UfcY6LPQMLQkmfoN7ICqKuyaKPeu8Os7EH7AIdL4LFJzmb1HrQj 8JQn7ToPGWgRCLCWr9mbQHEAwDJt9WAPl18U97QLSB5kxtKYvtknTqoJzH0SvLfCHJvR d43zFdHs9Qa1B+rH4pAF1BTXUvpyAEE8+SyvJQ2qH5BB/IdPAyr5lZY1X5cLeIfUq4WS AjSw8GlPyfvmssqskx4Pn7c/du7IJPbY59or27CNQ0nvmyV73V7GRnPZVjTyhlpMBGwF CfGA== 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=zpag1uT9Bcfym1ncgit8tumObvhIBPzyti/6cbFYe7E=; fh=SuV1mxSfYh/fFJBV6FW8ZDQUWC7OLSIDYxyJSOKFLBQ=; b=Zqe+X5Nol39GF9bLz6Z7Hg/GkeSc/WYx9mBuaam0PiTx2pL/8qPaVWivBMuKyLegAY oQaB+kWXP7lKqDN1rZkbl+aM0UjJRQ2N1Hvw+OhEyDIuQbvyuraPZyLS5VreDzInpKsd oO2RObE3gkmYXdW2PFX4vuNJr9QQDVAOjoe6vdgJ/JF0kZawr7IbwxZR8mOBDH45TPTX v069HDNiV7dYgkmWM02XY/TZtioDHqrvlF2CJDlUuQ1Wqhn7HpKLtK8W0RcBY0PXx6y7 T+mC/zod82murJMpx2ndzl9zh7kzZoLlk5yx4aEbgAaMbO8KQQWuzEvbMnwJ3VBCRTpq w9bg== 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 server2.sourceware.org (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id uz12-20020a170907118c00b00992a0f83dfcsi8633470ejb.471.2023.08.22.16.07.37 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 22 Aug 2023 16:07:38 -0700 (PDT) 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 479EF3851ABE for ; Tue, 22 Aug 2023 23:07:29 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbgbr1.qq.com (smtpbgbr1.qq.com [54.207.19.206]) by sourceware.org (Postfix) with ESMTPS id 34D5F3858D37 for ; Tue, 22 Aug 2023 23:07:03 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 34D5F3858D37 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: bizesmtp63t1692745613tlndzln5 Received: from rios-cad121.hadoop.rioslab.org ( [58.60.1.7]) by bizesmtp.qq.com (ESMTP) with id ; Wed, 23 Aug 2023 07:06:52 +0800 (CST) X-QQ-SSF: 01400000000000G0V000000A0000000 X-QQ-FEAT: k0mQ4ihyJQPl0SWqGzxh+c3ewucptiqS2Dq0xWNSZ+VYYr/nqQDJ9ODY13BfO 3S7wj9+rrQAfl2iXv3evjb0qbQGs/R4o9nlXPtZk22cYF9VwzAQ2kAH8lQY0uGDFSNXhiFk m7i7jeAmzMXsVrN2kG/aLdxeQiwWsffy/EEA5LLbEC1IKGcYJlvcPXtahXWWY7M5aFKZt8Y tJrMr8IRvdJBGnczyWnqcxGB46SB32Ddd/aWTxqMI133rUJuqFM0Xq48mV8WgCt/RkqHlLr CAxx5Qbk4ro+MnFglsmw6qsfzT03LX75lpEWeU8TC0frQjQsJBoRmmHIkQd8RZ7ulrieiKg ZvJfbB9YzAAlj+z/INJ4L92+nWB8dMxzNoHiq+D+OJ3N/aLNpUngBmiyTSYyw== X-QQ-GoodBg: 2 X-BIZMAIL-ID: 5638928467746141398 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: [PATCH] RISC-V: Add riscv-vsetvl.def to t-riscv Date: Wed, 23 Aug 2023 07:06:50 +0800 Message-Id: <20230822230650.1383987-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.1 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H4, RCVD_IN_MSPIKE_WL, 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: INBOX X-GMAIL-THRID: 1774972471081427978 X-GMAIL-MSGID: 1774972471081427978 This patch will be backport to GCC 13 and commit to trunk. gcc/ChangeLog: * config/riscv/t-riscv: Add riscv-vsetvl.def --- gcc/config/riscv/t-riscv | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gcc/config/riscv/t-riscv b/gcc/config/riscv/t-riscv index 1252d6f851a..f3ce66ccdd4 100644 --- a/gcc/config/riscv/t-riscv +++ b/gcc/config/riscv/t-riscv @@ -62,7 +62,8 @@ riscv-vsetvl.o: $(srcdir)/config/riscv/riscv-vsetvl.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(REGS_H) \ $(TARGET_H) tree-pass.h df.h rtl-ssa.h cfgcleanup.h insn-config.h \ insn-attr.h insn-opinit.h tm-constrs.h cfgrtl.h cfganal.h lcm.h \ - predict.h profile-count.h $(srcdir)/config/riscv/riscv-vsetvl.h + predict.h profile-count.h $(srcdir)/config/riscv/riscv-vsetvl.h \ + $(srcdir)/config/riscv/riscv-vsetvl.def $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(srcdir)/config/riscv/riscv-vsetvl.cc