From patchwork Tue Oct 11 06:23:33 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: 1903 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1938544wrs; Mon, 10 Oct 2022 23:24:16 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6lPP55aeEjBNExU5+SRrrlMgTMQ1YlVkWiqHR2Q/MvAr9dcsTwHOYz1LCydu9RVCpHP2I4 X-Received: by 2002:a05:6402:27c8:b0:458:ecf7:7248 with SMTP id c8-20020a05640227c800b00458ecf77248mr21856858ede.67.1665469445702; Mon, 10 Oct 2022 23:24:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665469445; cv=none; d=google.com; s=arc-20160816; b=uy63OnnybQhpxn7KS4UHniMVu+gUoKNQHgy84GnPmpGs6YW1gEjt9yxzd7ekiYkN1s 8ypL6vPIiV2W7i9QOrd1DPIIY2SgOKJwqpV+1Xdng6gxTx01ptvLDcPxa/Vo2aM8cS9F eZwPeT3o2PpDBA77E+2yNVx/ab2FJqFgCLz2zesI3iF2hY+SCS9ihvzsDOfcykczHJ2A ghjQbPVW8fiTuV0D+1VfBywMJXnyXQc2nbpU8JxcJoRJt+dSgn3AmU5KPe/wQ8ljk+kV p0Zm8DknAyJ6FRjJXVrjZ2jgK3Kxf2b/0j95lntPRcgPiXtiIo2oUkWgn/6JgzdiRKG8 ctWg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:cc:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:feedback-id :content-transfer-encoding:mime-version:message-id:date:subject:to :from:dmarc-filter:delivered-to; bh=ME3NbnrUWlOB587vKGQTSxvbHo6TtE3TPuJcyQ4lRCE=; b=jyxdvXhpheAdhnxKYnPq17694jcCStf95wXdq0jqTjZAkqokonXsYLL7DzzaCOMjGo J71xvOeJfLNh/U1KwDnE34PXR63eXiiTeKGIG5BygAWRXoWD43AOaOnbpgEyNA8uy+gr Yt//3nB7qrryvfAbIjr2MLLLJkI26H17OGOKA2bGiL8ZARX9w41lJ9XwTjwKETPWno6X SCPAki/kEreoSQuw3MnhleK5PNYMo4OBUl6H3vFQDqO5JQs0mVVOHpiVqHYfKMF952n1 xu5wfEbztjy+zsRezTunXxl6Ekcw+6uLHqXyYW0/IBXSorbThnR+bz1DO682ot+hjYQ5 QLUw== 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 (ip-8-43-85-97.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id dn15-20020a17090794cf00b007878f030816si13204398ejc.109.2022.10.10.23.24.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Oct 2022 23:24:05 -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 9D0EC385701C for ; Tue, 11 Oct 2022 06:24:02 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtpbguseast1.qq.com (smtpbguseast1.qq.com [54.204.34.129]) by sourceware.org (Postfix) with ESMTPS id A6D2E3858C2D for ; Tue, 11 Oct 2022 06:23:39 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org A6D2E3858C2D 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: bizesmtp63t1665469415twgaa1ir Received: from server1.localdomain ( [42.247.22.66]) by bizesmtp.qq.com (ESMTP) with id ; Tue, 11 Oct 2022 14:23:33 +0800 (CST) X-QQ-SSF: 01400000000000D0J000000A0000000 X-QQ-FEAT: tgzXWVxr7yhFMgbENp5JQZIzicxsqGIoomu1ejP8OXz9YksYXjnyioEG8bo60 K6rLZ03kkDHeTqomhTnqOYsVfoHX6Q/bmzcu3w52+65HGvItG9k4UrS4G5nGGzPEAIbKeid Xe2MFwzKO2WzVxH3zQDJrkKTGQo7bCC2iDZ8leWyT5QKCPQuY0Nek+piCvUhioIqmZIrTmq 0TR3ptGYDuSnxhNF/eBD+7ZVxVaSplVRg5wLp8tbvDAAWyHxaZsdgLzz+0WKpiJeVe+CjAi 5Qj9O77FDXGkQ5veAbp+2+uspfZOJPbZrWES9KNoQ+pSOeEjPawD4bhOSGlPVjKL/Xu+Skx UEz8+cIjMoX8nzVltDqAMX+BFt/AuqMD+DMZ4cvWNrV1XE/Umb4e6qJZiWd3A== X-QQ-GoodBg: 2 From: juzhe.zhong@rivai.ai To: gcc-patches@gcc.gnu.org Subject: [PATCH] RISC-V: Remove TUPLE size macro define. Date: Tue, 11 Oct 2022 14:23:33 +0800 Message-Id: <20221011062333.70907-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=-12.8 required=5.0 tests=BAYES_00, GIT_PATCH_0, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, 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: , Cc: kito.cheng@gmail.com, Ju-Zhe Zhong 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?1746371289726580507?= X-GMAIL-MSGID: =?utf-8?q?1746371289726580507?= From: Ju-Zhe Zhong gcc/ChangeLog: * config/riscv/riscv-vector-builtins.h: Remove redundant macro. --- gcc/config/riscv/riscv-vector-builtins.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/gcc/config/riscv/riscv-vector-builtins.h b/gcc/config/riscv/riscv-vector-builtins.h index 7d4b807f33c..cd6dad62ad8 100644 --- a/gcc/config/riscv/riscv-vector-builtins.h +++ b/gcc/config/riscv/riscv-vector-builtins.h @@ -23,9 +23,6 @@ namespace riscv_vector { -/* This is for segment instructions. */ -const unsigned int MAX_TUPLE_SIZE = 8; - /* Enumerates the RVV types, together called "vector types" for brevity. */ enum vector_type_index