From patchwork Tue Feb 4 16:49:51 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andi Kleen X-Patchwork-Id: 105976 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 349863858414 for ; Tue, 4 Feb 2025 16:50:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 349863858414 Authentication-Results: sourceware.org; dkim=pass (2048-bit key, unprotected) header.d=intel.com header.i=@intel.com header.a=rsa-sha256 header.s=Intel header.b=lN0Rw/tA X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.12]) by sourceware.org (Postfix) with ESMTPS id 9C8333858D20; Tue, 4 Feb 2025 16:50:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 9C8333858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=linux.intel.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=linux.intel.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 9C8333858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=198.175.65.12 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738687813; cv=none; b=w8aFftaeddFzlOjpe1rS40Tq6s1SWbh2mW2tTUNglWYDAJs3PO0ORwrLgv8pSTcPmkXfGgpZUK5rUIMOduv5yspPG+G6gvJQqH7clH84U6tKd4QAnxvwUm/4HxqY2KYQ9s+WL67WssCBrRUV7eUx3XOnS57exbBUW89CACpIXgM= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1738687813; c=relaxed/simple; bh=6gKBBc22cYAvo3aQE30q6vvUWwme8H5OYXLpsRU6XsQ=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=j9EXtJlMZQCCxBkvgavICeFW0WlbXLH5HHUnZqEGdNhKeFaOuKSD4LGh+ga0pyTVW6GmkCGiWdV5D1ASzge/TnCLAASWjzeMkouYPXfKsuPA7Xz5359ft5Gxrza9PmCGwbi0H1yhakl1eDWXXOiK5DkjZJ5E7AsAxtf2dqsBl/A= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9C8333858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1738687812; x=1770223812; h=from:to:cc:subject:date:message-id:mime-version: content-transfer-encoding; bh=6gKBBc22cYAvo3aQE30q6vvUWwme8H5OYXLpsRU6XsQ=; b=lN0Rw/tA1vs0A9KNQhZgct/QIyJ7ydt8g4asoImOimB76a9Yx47fMT4l 8DMBSY8lcPS3ZM2j8yIaCT+4iAqvEkg6sAcdnDZSdFk2HZwjse1faCtoi PfxmDQ/9Fj1nv8tGM5q1UxXbsRZfXGDwKYPqs6KtwGrAjQZCw8xq4ouZY dhTBW/zBCH/t2SIJdc0tpxB5jzGsZ1x+5HRftF7Qb9fwmaIedCR/FrUiu aulhlHHglWBbaJlDERSin/C50No2vcNkcl5i2Xbi9rKeZ+0slno2OKHYV qAuyL/PZlXuJ+KGVz3YVE4Tdh3sLLg2hpqSk6K1yXu5MDzPtIIbchAkOf w==; X-CSE-ConnectionGUID: xUbGvBm0S2ygCWPyUEpELA== X-CSE-MsgGUID: Censzj8jQaaXGh79iDjz+w== X-IronPort-AV: E=McAfee;i="6700,10204,11336"; a="50617064" X-IronPort-AV: E=Sophos;i="6.13,259,1732608000"; d="scan'208";a="50617064" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orvoesa104.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2025 08:50:11 -0800 X-CSE-ConnectionGUID: wPNFTrKPQeis6GFEaeaG9g== X-CSE-MsgGUID: KNMAhV4xQ8OJRUIWWHhn8Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.12,224,1728975600"; d="scan'208";a="141504481" Received: from tassilo.jf.intel.com ([10.54.38.190]) by smtpauth.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 04 Feb 2025 08:50:11 -0800 From: Andi Kleen To: gcc-patches@gcc.gnu.org Cc: Andi Kleen Subject: [COMITTED] Fix file cache tunables documentation Date: Tue, 4 Feb 2025 08:49:51 -0800 Message-ID: <20250204164951.112794-1-ak@linux.intel.com> X-Mailer: git-send-email 2.48.1 MIME-Version: 1.0 X-Spam-Status: No, score=-10.9 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, SPF_NONE, 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.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces~patchwork=sourceware.org@gcc.gnu.org From: Andi Kleen Document new params in invoke.texi. The auto tuning description was on the wrong tunable, move to lines. Comitted as obvious. gcc/ChangeLog: * doc/invoke.texi: Document file cache tunables. * params.opt: Move auto tuning description to lines. --- gcc/doc/invoke.texi | 10 ++++++++++ gcc/params.opt | 4 ++-- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index dddde54a287d..9050ffa59dd0 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -13010,6 +13010,16 @@ having large chains of nested wrapper functions. Enabled by default. +@item -ffile-cache-files= +Max number of files in the file cache. +The file cache is used to print source lines in diagnostics and do some +source checks like @option{-Wmisleading-indentation}. + +@item -ffile-cache-files= +Max number of lines to index into file cache. When 0 this is automatically sized. +The file cache is used to print source lines in diagnostics and do some +source checks like @option{-Wmisleading-indentation}. + @opindex fipa-sra @item -fipa-sra Perform interprocedural scalar replacement of aggregates, removal of diff --git a/gcc/params.opt b/gcc/params.opt index d84e35679e6d..4f4eb4d7a2a5 100644 --- a/gcc/params.opt +++ b/gcc/params.opt @@ -136,11 +136,11 @@ Maximal estimated growth of function body caused by early inlining of single cal -param=file-cache-files= Common Joined UInteger Var(param_file_cache_files) Init(16) Param -Max number of files in the file cache. When 0 this is automatically sized. +Max number of files in the file cache. -param=file-cache-lines= Common Joined UInteger Var(param_file_cache_lines) Init(0) Param -Max number of lines to index into file cache. +Max number of lines to index into file cache. When 0 this is automatically sized. -param=fsm-scale-path-stmts= Common Joined UInteger Var(param_fsm_scale_path_stmts) Init(2) IntegerRange(1, 10) Param Optimization