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: 1885851 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@legolas.ozlabs.org Authentication-Results: legolas.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=W48UzYDK; dkim-atps=neutral Authentication-Results: legolas.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=server2.sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=patchwork.ozlabs.org) Received: from server2.sourceware.org (server2.sourceware.org [IPv6:2620:52:3:1:0:246e:9693:128c]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by legolas.ozlabs.org (Postfix) with ESMTPS id 4TB5gk6p3cz1yPy for ; Fri, 12 Jan 2024 13:53:05 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id EE6C03858D1E for ; Fri, 12 Jan 2024 02:53:02 +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+incoming=patchwork.ozlabs.org@gcc.gnu.org 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)