From patchwork Thu Mar 3 12:27:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Tobias Burnus X-Patchwork-Id: 51530 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 90DE7385842F for ; Thu, 3 Mar 2022 12:28:24 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from esa2.mentor.iphmx.com (esa2.mentor.iphmx.com [68.232.141.98]) by sourceware.org (Postfix) with ESMTPS id 01BF03857C43 for ; Thu, 3 Mar 2022 12:27:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 01BF03857C43 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.90,151,1643702400"; d="diff'?scan'208";a="72692306" Received: from orw-gwy-01-in.mentorg.com ([192.94.38.165]) by esa2.mentor.iphmx.com with ESMTP; 03 Mar 2022 04:27:50 -0800 IronPort-SDR: S3w3cppmrDjzGgmvzXgIHoLJ2bDNSWZp+9lZHhdVft80WDC7nh4z0x1v5qahXSGSc1gCWf+5LU 2jDVvbn5T1T80yHMji5xcVhZ4+I+F2GQ6s6t9VdwXCHuqMdkjdp8L6iA11f7IcgTA98+BMcWxU bC71AXPOVVn572ySfoEp1IoVP2nuEY88pDrX8iQnggre+hR2cu6AScfddsqcSXITTCsAiU4IlH eOwbskxlsZc/9Hy5J6riGufmULFEfrSGnXXcnUHyzgShPdYbX/M8UHhoFOp6azOAp7nLJqnUay FMQ= Message-ID: <1ffa4e66-af1a-4392-795a-31a8f0047c92@codesourcery.com> Date: Thu, 3 Mar 2022 13:27:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.6.1 Content-Language: en-US To: Tom de Vries , gcc-patches From: Tobias Burnus Subject: [wwwdocs][patch] gcc-12/changes.html: Document -misa update for nvptx X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-08.mgc.mentorg.com (139.181.222.8) To svr-ies-mbx-01.mgc.mentorg.com (139.181.222.1) X-Spam-Status: No, score=-11.5 required=5.0 tests=BAYES_00, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, KAM_SHORT, RCVD_IN_MSPIKE_H2, SPF_HELO_PASS, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" The current wording, https://gcc.gnu.org/gcc-12/changes.html#nvptx , is outdated and (now wrongly) encourages to use -mptx=. Updated as follows. OK? 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 gcc-12/changes.html: Document -misa update for nvptx diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index a3e46eeb..63e2bf63 100644 --- a/htdocs/gcc-12/changes.html +++ b/htdocs/gcc-12/changes.html @@ -468,9 +468,14 @@ a work-in-progress.

NVPTX

    +
  • The -misa/ flag now supports sm_53, + sm_70, sm_75, and sm_80 besides + sm_30 and sm_35 (which is the default).
  • The -mptx flag has been added to specify the PTX ISA version for the generated code; permitted values are 3.1 - (default, matches previous GCC versions) and 6.3. + (matches previous GCC versions), 6.0, 6.3, + and 7.0. If not specified, the used version is the minimal + version required for -misa but at least 6.0.
  • The new __PTX_SM__ predefined macro allows code to check the compute model being targeted by the compiler.