From patchwork Tue Nov 29 18:26:07 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 27393 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp500056wrr; Tue, 29 Nov 2022 10:26:45 -0800 (PST) X-Google-Smtp-Source: AA0mqf6xBZ648G3fBPeJkdMuZss9745Me7T+YnuVQDj1RUS+EbhFve+dEHrJMi5pAVaC0xSw8lYD X-Received: by 2002:a05:6402:f:b0:468:56c3:7c8 with SMTP id d15-20020a056402000f00b0046856c307c8mr53511605edu.109.1669746405072; Tue, 29 Nov 2022 10:26:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669746405; cv=none; d=google.com; s=arc-20160816; b=jtD0NHkjfC4Rj0TWq9uKFIWD0tWvDkTuM/b3+g/3UKDs9dufVFYPvxFQe0vgrsQ9PD In2ciaf2sl8e79YIAB5JGm5e2vPZdbBuKwi7kFphtccl4b0U6YDTKpGfwHTOrzC4GNbx P3lZT1Ps5AyihftW26Xz6B0PfZbScBBqtfGEowhB4zn1vGdnNC7E5Ei6pLcUYe4ESAAa q0zeqhbX6JquGlVm8ogbbPqVUVYZUTCfhIf557xjC1GfN5xTeAbCpdTHxptrO/+FKgQR bX/ShF3hnPtaeVq1SI3VxKY/QE7vTStnLCLclVatR0t3AZ35fMTmzo+e4OSvkjCjdph7 uQ5Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :ironport-sdr:dmarc-filter:delivered-to; bh=0/jE+Ch0ivtbVMCZIM7Z2r779rSONR1UELk2TGcvqrQ=; b=e/jBGGce/iotkFGsFKgHGpjraqOmmPXsmwBOv5jHOYxfV66MxCLbMYnNJAflSieTN6 1ELYqE/50FT8kVDFEAiSqSiNMwPQBtdPgkyfvsp+zjMdc/qk68aMkL0TSEbMZ3Vu/l7M 5VryidZPVe6aL+D9M8TF2pljNUjlufp1ZGtqyYzeYBJzdgVakWUwIiJKgzklzNasDapA xz88IxdXTUYoZJKl0BhLvZWeBUQO032DB59bYsuUD/8hglcWEPNxW1j02osqZNtcHeSk 6+J81RlI9zTBBHtH9RKyNrIHlwRioSW4Goj9vzwl7OP9pVnVPZzQbenBcAJooWNW7kCP 6duA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org" Received: from sourceware.org (server2.sourceware.org. [2620:52:3:1:0:246e:9693:128c]) by mx.google.com with ESMTPS id hd16-20020a170907969000b0073d71124609si12274171ejc.182.2022.11.29.10.26.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Nov 2022 10:26:45 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c as permitted sender) client-ip=2620:52:3:1:0:246e:9693:128c; Authentication-Results: mx.google.com; spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 2620:52:3:1:0:246e:9693:128c 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 554E5385843A for ; Tue, 29 Nov 2022 18:26:39 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa1.mentor.iphmx.com (esa1.mentor.iphmx.com [68.232.129.153]) by sourceware.org (Postfix) with ESMTPS id BEF0F3858D1E for ; Tue, 29 Nov 2022 18:26:14 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org BEF0F3858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com X-IronPort-AV: E=Sophos;i="5.96,204,1665475200"; d="diff'?scan'208";a="91188493" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa1.mentor.iphmx.com with ESMTP; 29 Nov 2022 10:26:13 -0800 IronPort-SDR: G9QCQMEO0BF3dC1+GClX+Gd43UF5AQFW53ZDiUgVcRy5gj/E4bZ+87CV3nf90jxy4r25mTifH/ B8OwNEqp+HjdA+y+tOXJB2vmRInGb/XI2bKLahLF3wQQI06CYRtQC1nRRPEfHDunaI6kOBxMRg gsFU6TSH2ZAClabekPzzBhhPKAAbgNKgGIE8gQI0+xhHJPVjYKNuur0+ZFZUFgSMxAefJ34GtD kv1jaC26B+D7VRFs+6cYpzt5mIVsmmD4DReKCDMD+nEf02Ahy/O2U8PgPjlp41M6wz4mPuq9id UDU= Message-ID: <9b3bf7dc-4eb8-e210-94b7-b5cfc56458ca@codesourcery.com> Date: Tue, 29 Nov 2022 19:26:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.5.0 Subject: [Patch] libgomp.texi: List GCN's 'gfx803' under OpenMP Context Selectors (was: amdgcn: Support AMD-specific 'isa' traits in OpenMP context selectors) Content-Language: en-US To: Paul-Antoine Arras , , Andrew Stubbs References: From: Tobias Burnus In-Reply-To: X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-07.mgc.mentorg.com (139.181.222.7) To svr-ies-mbx-12.mgc.mentorg.com (139.181.222.12) X-Spam-Status: No, score=-11.4 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, 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: , 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?1750856006754249204?= X-GMAIL-MSGID: =?utf-8?q?1750856006754249204?= Hi PA, hi Andrew, hi Jakub, hi all, On 29.11.22 16:56, Paul-Antoine Arras wrote: > This patch adds support for 'gfx803' as an alias for 'fiji' in OpenMP > context selectors, [...] I think this should be documented somewhere. We have https://gcc.gnu.org/onlinedocs/libgomp/OpenMP-Context-Selectors.html For GCN and ISA, it refers to -march= and gfx803 is only a context selector. Hence: How about the attached patch? Tobias ----------------- Siemens Electronic Design Automation GmbH; Anschrift: Arnulfstraße 201, 80634 München; Gesellschaft mit beschränkter Haftung; Geschäftsführer: Thomas Heurung, Frank Thürauf; Sitz der Gesellschaft: München; Registergericht München, HRB 106955 libgomp.texi: List GCN's 'gfx803' under OpenMP Context Selectors libgomp/ChangeLog: * libgomp.texi (OpenMP Context Selectors): Add 'gfx803' to gcn's isa. diff --git a/libgomp/libgomp.texi b/libgomp/libgomp.texi index 85cae742cd4..0066d41fdc5 100644 --- a/libgomp/libgomp.texi +++ b/libgomp/libgomp.texi @@ -4378,5 +4378,6 @@ offloading devices (it's not clear if they should be): @item @code{amdgcn}, @code{gcn} @tab @code{gpu} - @tab See @code{-march=} in ``AMD GCN Options'' + @tab See @code{-march=} in ``AMD GCN Options''@footnote{Additionally + supported is @code{gfx803} as an alias for @code{fiji}.} @item @code{nvptx} @tab @code{gpu}