Message ID | ri634rr23d8.fsf@virgil.suse.cz |
---|---|
State | Committed |
Commit | 33f83d3cd84f9876180a2e2a9d1ea082debdaa37 |
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> 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 8F842385840C for <patchwork@sourceware.org>; Thu, 11 Apr 2024 17:53:23 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from smtp-out2.suse.de (smtp-out2.suse.de [195.135.223.131]) by sourceware.org (Postfix) with ESMTPS id 6B92B3858D20 for <gcc-patches@gcc.gnu.org>; Thu, 11 Apr 2024 17:52:54 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6B92B3858D20 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.cz ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 6B92B3858D20 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=195.135.223.131 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712857976; cv=none; b=dVMKzatpZd/7bHaWQ2PjFjAzW5d4XJo9KDXirWgrwXfPABSLFhAICaSgJB6QFElhNnvkk2pHLA3IPsly8ieN0nYH0VfGyH/2klremVmI1lVwYJ2gCGO5UbybJHZghAJ3DxWZHVjwe8Dm44UPzR6ahcjHXufXXeX8fIWBNzCY3B8= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712857976; c=relaxed/simple; bh=p17ZKI0pkTcc9xIE1Q6YnwW3gQ/fv5dlGtWnk0EEqNg=; h=DKIM-Signature:DKIM-Signature:DKIM-Signature:DKIM-Signature:From: To:Subject:Date:Message-ID:MIME-Version; b=XtCR9mAQwGq0r6Ccd3MbdwozCE+EI0iC9+EmKMYr6OGhgMzRGNNHMDAUiFmfZ6erFlS8k/khhhRPUsRcTArZlno3NNyUqtNWDESUF2GRY/zDzrparpfzxmaIbbPFWQHQbYOC7Mlb8POiIdBW/53/oOsJH9ROfDqnLES/bKC/qp0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from imap1.dmz-prg2.suse.org (imap1.dmz-prg2.suse.org [IPv6:2a07:de40:b281:104:10:150:64:97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 6DA255D30E; Thu, 11 Apr 2024 17:52:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1712857972; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=20dkT/fy/DtijxfIImiQQrJKUhgXSLlfzwb+05RATAw=; b=BxB6hjXiCT3KR6bfBpCLBdNKtVHUXYhvo2HIgTz56+4IU/QZQBbfX1BFy2OKY1/s6hZWI5 Cl+Fvg+pXV8llSOOg07wt0pKN9rIgwkl6u7GOYDL49N2/Pq0Ebw/XDfap/3tegE9jy1hwI laKnxSJ8e3ze2MiKW8slNRN8m1y3e18= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1712857972; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=20dkT/fy/DtijxfIImiQQrJKUhgXSLlfzwb+05RATAw=; b=3/x8dBnmAwjHF7N2m3mg9vSKJFVm+Sy4nv8UCPLOztOn862sWSOnEyNFK/YMYD9llgVuyh d4dLimZQu8TdmUBA== Authentication-Results: smtp-out2.suse.de; dkim=pass header.d=suse.cz header.s=susede2_rsa header.b=BxB6hjXi; dkim=pass header.d=suse.cz header.s=susede2_ed25519 header.b="3/x8dBnm" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_rsa; t=1712857972; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=20dkT/fy/DtijxfIImiQQrJKUhgXSLlfzwb+05RATAw=; b=BxB6hjXiCT3KR6bfBpCLBdNKtVHUXYhvo2HIgTz56+4IU/QZQBbfX1BFy2OKY1/s6hZWI5 Cl+Fvg+pXV8llSOOg07wt0pKN9rIgwkl6u7GOYDL49N2/Pq0Ebw/XDfap/3tegE9jy1hwI laKnxSJ8e3ze2MiKW8slNRN8m1y3e18= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.cz; s=susede2_ed25519; t=1712857972; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type; bh=20dkT/fy/DtijxfIImiQQrJKUhgXSLlfzwb+05RATAw=; b=3/x8dBnmAwjHF7N2m3mg9vSKJFVm+Sy4nv8UCPLOztOn862sWSOnEyNFK/YMYD9llgVuyh d4dLimZQu8TdmUBA== Received: from imap1.dmz-prg2.suse.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by imap1.dmz-prg2.suse.org (Postfix) with ESMTPS id 56CDE1368B; Thu, 11 Apr 2024 17:52:52 +0000 (UTC) Received: from dovecot-director2.suse.de ([2a07:de40:b281:106:10:150:64:167]) by imap1.dmz-prg2.suse.org with ESMTPSA id pFIsFXQjGGaBCwAAD6G6ig (envelope-from <mjambor@suse.cz>); Thu, 11 Apr 2024 17:52:52 +0000 From: Martin Jambor <mjambor@suse.cz> To: GCC Patches <gcc-patches@gcc.gnu.org> Cc: Thomas Schwinge <tschwinge@baylibre.com> Subject: [PATCH] contrib/check-params-in-docs.py: Ignore gcn-preferred-vectorization-factor User-Agent: Notmuch/0.38.2 (https://notmuchmail.org) Emacs/29.3 (x86_64-suse-linux-gnu) Date: Thu, 11 Apr 2024 19:52:51 +0200 Message-ID: <ri634rr23d8.fsf@virgil.suse.cz> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Level: X-Spamd-Result: default: False [-2.62 / 50.00]; BAYES_HAM(-1.11)[88.32%]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-0.20)[-1.000]; R_DKIM_ALLOW(-0.20)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; MIME_GOOD(-0.10)[text/plain]; MX_GOOD(-0.01)[]; DKIM_SIGNED(0.00)[suse.cz:s=susede2_rsa,suse.cz:s=susede2_ed25519]; MIME_TRACE(0.00)[0:+]; RBL_SPAMHAUS_BLOCKED_OPENRESOLVER(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RCPT_COUNT_TWO(0.00)[2]; ARC_NA(0.00)[]; FUZZY_BLOCKED(0.00)[rspamd.com]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; SPAMHAUS_XBL(0.00)[2a07:de40:b281:104:10:150:64:97:from]; RCVD_COUNT_TWO(0.00)[2]; FROM_EQ_ENVFROM(0.00)[]; TO_DN_ALL(0.00)[]; MID_RHS_MATCH_FROMTLD(0.00)[]; DKIM_TRACE(0.00)[suse.cz:+]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; DBL_BLOCKED_OPENRESOLVER(0.00)[imap1.dmz-prg2.suse.org:helo, imap1.dmz-prg2.suse.org:rdns] X-Rspamd-Action: no action X-Rspamd-Queue-Id: 6DA255D30E X-Rspamd-Server: rspamd1.dmz-prg2.suse.org X-Spam-Score: -2.62 X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, SPF_HELO_NONE, 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.30 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org |
Series |
contrib/check-params-in-docs.py: Ignore gcn-preferred-vectorization-factor
|
|
Checks
Context | Check | Description |
---|---|---|
linaro-tcwg-bot/tcwg_gcc_build--master-arm | warning | Patch is already merged |
linaro-tcwg-bot/tcwg_gcc_build--master-aarch64 | warning | Patch is already merged |
Commit Message
Martin Jambor
April 11, 2024, 5:52 p.m. UTC
Hi, contrib/check-params-in-docs.py is a script that checks that all options reported with ./gcc/xgcc -Bgcc --help=param are in gcc/doc/invoke.texi and vice versa. gcn-preferred-vectorization-factor is in the manual but normally not reported by --help, probably because I do not have gcn offload configured. This patch makes the script silently about this particular fact. I'll push the patch as obvious momentarily. Martin contrib/ChangeLog: 2024-04-11 Martin Jambor <mjambor@suse.cz> * check-params-in-docs.py (ignored): Add gcn-preferred-vectorization-factor. --- contrib/check-params-in-docs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Comments
Hi! On 2024-04-11T19:52:51+0200, Martin Jambor <mjambor@suse.cz> wrote: > contrib/check-params-in-docs.py is a script that checks that all > options reported with ./gcc/xgcc -Bgcc --help=param are in > gcc/doc/invoke.texi and vice versa. Eh, first time I'm hearing about this one! (a) Shouldn't this be running as part of the GCC build process? > gcn-preferred-vectorization-factor is in the manual but normally not > reported by --help, probably because I do not have gcn offload > configured. No, because you've not been building GCC for GCN target. ;-P > This patch makes the script silently about this particular > fact. (b) Shouldn't we instead ignore any '--param's with "gcn" prefix, similar to how that's done for "skip aarch64 params"? (c) ..., and shouldn't we likewise skip any "x86" ones? (d) ..., or in fact any target specific ones, following after the generic section? (Easily achieved with a special marker in 'gcc/doc/invoke.texi', just before: The following choices of @var{name} are available on AArch64 targets: ..., and adjusting the 'takewhile' in 'contrib/check-params-in-docs.py' accordingly? Grüße Thomas > I'll push the patch as obvious momentarily. > > Martin > > > contrib/ChangeLog: > > 2024-04-11 Martin Jambor <mjambor@suse.cz> > > * check-params-in-docs.py (ignored): Add > gcn-preferred-vectorization-factor. > --- > contrib/check-params-in-docs.py | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/contrib/check-params-in-docs.py b/contrib/check-params-in-docs.py > index 623c82284e2..f7879dd8e08 100755 > --- a/contrib/check-params-in-docs.py > +++ b/contrib/check-params-in-docs.py > @@ -45,7 +45,7 @@ parser.add_argument('params_output') > > args = parser.parse_args() > > -ignored = {'logical-op-non-short-circuit'} > +ignored = {'logical-op-non-short-circuit', 'gcn-preferred-vectorization-factor'} > params = {} > > for line in open(args.params_output).readlines(): > -- > 2.44.0
diff --git a/contrib/check-params-in-docs.py b/contrib/check-params-in-docs.py index 623c82284e2..f7879dd8e08 100755 --- a/contrib/check-params-in-docs.py +++ b/contrib/check-params-in-docs.py @@ -45,7 +45,7 @@ parser.add_argument('params_output') args = parser.parse_args() -ignored = {'logical-op-non-short-circuit'} +ignored = {'logical-op-non-short-circuit', 'gcn-preferred-vectorization-factor'} params = {} for line in open(args.params_output).readlines():