From patchwork Fri Jan 12 02:52:15 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Li, Pan2" X-Patchwork-Id: 187554 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:2411:b0:101:2151:f287 with SMTP id m17csp1868240dyi; Thu, 11 Jan 2024 18:53:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IExKyONB9Fr5U/OAvjmaoSUUw7l+y3gCJzaI5xNUvFDiHyBCz+78dsXqXHlmdvwZBzaumnM X-Received: by 2002:a05:622a:58a:b0:429:b9f9:5697 with SMTP id c10-20020a05622a058a00b00429b9f95697mr1368163qtb.57.1705028011777; Thu, 11 Jan 2024 18:53:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1705028011; cv=pass; d=google.com; s=arc-20160816; b=v8NyLsTrKPudEdC8IWsOWJ5LW91jB9Wd7NAlwieUEFey2kXmg2kxmWrHdbnNE4mDBk beYo9vtjpSAchmlcBr5uoafzT5bjxk6OyhJns2R2/Wyi8La6o6GKUZlMlNPWtMGGm7a8 y01F71MWbJzzVGhH5MvKuUHwQC6qHy3D3RIJcpbTIL3+5DaWvRkDifEnjc+K7PdqG/d0 7Cp1nt0bQukfn76o6q39fYClY87P01bzmb/Iyi3q6XFgcPULkMCIDECsSOZ27+Bvwd7/ xBVZdvSt5JseKk9RP7kvBpc2uECxiFH8xyVvPl0gr8Csao+4ZvWCoG0xpKy5WqbsRBcU NwWQ== 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:content-transfer-encoding :mime-version:message-id:date:subject:cc:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=iasB9Onz/PSTqedtPCohF8jLplbiMACx55MLoMQGEoI=; fh=yqBQmCEeFYB2Wjmf8l8QkV/dOy5iKwSEx/iU/FYQjxU=; b=yEY9OCs8m4X6DeuGz7Ja52cLGeD0cmUp5/vxlDawlSzwsXZ/a26ah6z9lUQbks8uAU DmgG9x0R+KTc2FISLjGRWFInJQin6RJeMMjGOyiIdcLRBsg7UKaYSyHHbqkMxPGkA7Qd Dd4YQU3rorpz1NCZjjHMY158Ei9f+UpIXSFFmELOhaRQGeSanLvjpogx/jquy97+V4f/ r6WwHUqtYgPOm9GbtZFcXCVdI/dVZ6hjq7m4RBhPx7fgbc328voypEzNf7JG7ajW6ZeR NRWBt6FVVvozrs8c0CdjACv/QNzeEiZR9zq9j5qAKxfVdKDHfeoM1OBQYni5TMq9N8Gn 09Kw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=W48UzYDK; arc=pass (i=1); 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id f1-20020ac87f01000000b00423dccd9929si2185086qtk.495.2024.01.11.18.53.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 11 Jan 2024 18:53:31 -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; dkim=pass header.i=@intel.com header.s=Intel header.b=W48UzYDK; arc=pass (i=1); 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"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 73F003858C78 for ; Fri, 12 Jan 2024 02:53:31 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mgamail.intel.com (mgamail.intel.com [192.198.163.9]) by sourceware.org (Postfix) with ESMTPS id 521923858D1E for ; Fri, 12 Jan 2024 02:52:44 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 521923858D1E Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=intel.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 521923858D1E Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=192.198.163.9 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705027965; cv=none; b=LPS/yPsqdZ45Ll5Emk+ywaG/O2HZLRwetifTMefuE8hQy7TW0VXlkfgCiRgG6FgjYl3M5zPGmXqwThb2/xY1d9h8ayQE3185ihcLRu8pS3cVFV0yQSN1LQxlEGB7g2FJrOHkkelA0WUIeippclN1jehb/0osTvJYuhVd3aKG+Fk= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1705027965; c=relaxed/simple; bh=pCj6YL4VOtw1+TEY4Bu6NlxrzyIBKg8wUToIQQFNKHA=; h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version; b=LtfZ3hD/3J9zfjw/eIOWX4zVM7wURFT+BqWEimo4TWA6Uncpemi9nxM4GH2rwixRu/CadL6I5fj/okHiysK4kgydln9WGh0VEVWFMcesfhmkDVbQ3Nghas/+uiaqzcLoYNuU6dEwx8HmwuvyN+iYAUJvYY9Td0K9hoBfexu2j40= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1705027964; x=1736563964; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=pCj6YL4VOtw1+TEY4Bu6NlxrzyIBKg8wUToIQQFNKHA=; b=W48UzYDKsXdDHB+zlI+iM8jVfPAdJYbMNYdisoiK02/OgkOwx5uTlfW4 N4PC5wtUBIZLerBOnFF/M/xMdComFkvu9PooqVIwhs+S5PG59rPXeLg7m /TLyK2HjURFWwEElO9Ha8OTXVXOGW1IbDoXhmJG+x+CM+LY8UFtUuuNOc YTDKhqh/KEg/ex4kpjVINuFbmrrmEpfaZt2hj1jo4bhcUI0+TCrbH6S32 SDmZlrT2oFF2wuRKbCDcUG6a+HZC/WRHH6unTlncLEFCnAG3EfhOMG/gO jMAJOtC3MJXVbtxJxKCaT67ib4nJW1wdMQRXvj5zbTP4X6+gkhiipG2MJ g==; X-IronPort-AV: E=McAfee;i="6600,9927,10950"; a="5828755" X-IronPort-AV: E=Sophos;i="6.04,188,1695711600"; d="scan'208";a="5828755" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmvoesa103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Jan 2024 18:52:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10950"; a="1029780560" X-IronPort-AV: E=Sophos;i="6.04,188,1695711600"; d="scan'208";a="1029780560" Received: from shvmail02.sh.intel.com ([10.239.244.9]) by fmsmga006.fm.intel.com with ESMTP; 11 Jan 2024 18:52:17 -0800 Received: from pli-ubuntu.sh.intel.com (pli-ubuntu.sh.intel.com [10.239.159.47]) by shvmail02.sh.intel.com (Postfix) with ESMTP id 45C5E100568D; Fri, 12 Jan 2024 10:52:17 +0800 (CST) From: pan2.li@intel.com To: gcc-patches@gcc.gnu.org Cc: juzhe.zhong@rivai.ai, pan2.li@intel.com, yanzhang.wang@intel.com, kito.cheng@gmail.com Subject: [PATCH v1] RISC-V: Update the comments of riscv_v_ext_mode_p [NFC] Date: Fri, 12 Jan 2024 10:52:15 +0800 Message-Id: <20240112025215.1776738-1-pan2.li@intel.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-12.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, 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: 1787851452673010917 X-GMAIL-MSGID: 1787851452673010917 From: Pan Li gcc/ChangeLog: * config/riscv/riscv.cc (riscv_v_ext_mode_p): Update the comments of predicate func riscv_v_ext_mode_p. Signed-off-by: Pan Li Signed-off-by: Pan Li --- gcc/config/riscv/riscv.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/config/riscv/riscv.cc b/gcc/config/riscv/riscv.cc index df9799d9c5e..f829014a589 100644 --- a/gcc/config/riscv/riscv.cc +++ b/gcc/config/riscv/riscv.cc @@ -1361,7 +1361,10 @@ riscv_v_ext_vls_mode_p (machine_mode mode) return false; } -/* Return true if it is either RVV vector mode or RVV tuple mode. */ +/* Return true if it is either of below modes. + 1. RVV vector mode. + 2. RVV tuple mode. + 3. RVV vls mode. */ static bool riscv_v_ext_mode_p (machine_mode mode)