From patchwork Wed Feb 2 08:30: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: 1587574 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=2620:52:3:1:0:246e:9693:128c; helo=sourceware.org; envelope-from=gcc-patches-bounces+incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Received: from 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 RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bilbo.ozlabs.org (Postfix) with ESMTPS id 4JpZlD405qz9sFn for ; Wed, 2 Feb 2022 19:31:18 +1100 (AEDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 07353385AC37 for ; Wed, 2 Feb 2022 08:31:16 +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 638EE3858039 for ; Wed, 2 Feb 2022 08:30:51 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 638EE3858039 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=codesourcery.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=mentor.com IronPort-SDR: +a+4pOZpgmlsNW5i07BMQFAAEA1L8XBntix5HI/PLiQq1yQgYKjQxcp2TRFVDJxvVPPivOafMm 4auVyYd/f4ijf+KUZZTChKerK0F3Hz5cGJOgjkV8GMz4J5fH3nnQm14ljXVs9B0MlrYdrrnExB qM+J5RHVlkNw2pgybu9fbUNaPX4TfQGDz7KDXC4RfTueMtLRXriN5TPXsuA558dqazoVhFZzao 0sGupEYeQAlQF0NjTPMVwNpJU8lEZxMCEnkRJRELHCQnlaeVr0ZDfZgYvjWZqvo4JfcvslFtq9 4oPDh7KOYan41owIN3W+rA9M X-IronPort-AV: E=Sophos;i="5.88,336,1635235200"; d="diff'?scan'208";a="71503033" Received: from orw-gwy-02-in.mentorg.com ([192.94.38.167]) by esa2.mentor.iphmx.com with ESMTP; 02 Feb 2022 00:30:49 -0800 IronPort-SDR: elewpv3szi8HHAaHQexWsnXueeLOLNw3IPwySYIgSgIiCcLfegBuDXFa4MGHLJBE11Eioisdi4 xA9XytMYVdPe7vbUH0Kyt7scOps9t7RFIif3GtI0en8iwkbWRVYNPLg8tJhHu7TS2UA85f0T+p pqx8+Da94KLHBnwMObTboDsN/ydWi9mXvLX1VyI54xiHkiQ5dUmRuGMYybZQg8U3ZKs7cRIrc+ GX0GlLiUjnE+fM8Z55qd7B6vXub5SrVCQqse/Fw+GfcQgeLgAQ4UA5x0rEzezO3dLytgKYWx3o Xls= Message-ID: Date: Wed, 2 Feb 2022 09:30:44 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 Content-Language: en-US To: Tom de Vries , gcc-patches From: Tobias Burnus Subject: =?utf-8?q?=5BPatch=5D=5Bwwwdocs_+_gcc=5D_nvptx_=E2=80=93_update_for?= =?utf-8?q?_-mptx_change_=E2=80=93_gcc-12/changes=2Ehtml_+_gcc/docs/invoke?= =?utf-8?q?=2Etexi?= X-Originating-IP: [137.202.0.90] X-ClientProxiedBy: SVR-IES-MBX-07.mgc.mentorg.com (139.181.222.7) 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, 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+incoming=patchwork.ozlabs.org@gcc.gnu.org Sender: "Gcc-patches" This patch updates the documentation for Tom's change of the default -mptx= version - mentioning also -mptx=7.0. I forgot whether ptx = 7.0 was working fine or whether there was a reason not to mention it. At some point, we also have to update -misa=... Currently, only sm_30 and sm_35 are documented but sm_53, sm_75 and sm_80 are supported. Can they now be documented are are there still issues? OK to commit the wwwdocs + gcc invoke.texi patches? Tobias PS: I wonder whether any of the recent changes by chance did fix https://gcc.gnu.org/PR102429 – nvptx: ICE with expand_GOMP_SIMT_XCHG_BFLY : in expand_insn, at optabs.c:7947 for DCmode (complex double) Probably not, but it would have been nice nonetheless. ----------------- 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: nvptx – update for -mptx change diff --git a/htdocs/gcc-12/changes.html b/htdocs/gcc-12/changes.html index 2719b9d5..bd0babfb 100644 --- a/htdocs/gcc-12/changes.html +++ b/htdocs/gcc-12/changes.html @@ -404,7 +404,8 @@ a work-in-progress.

  • 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.3 (new default) and + 7.0.
  • The new __PTX_SM__ predefined macro allows code to check the compute model being targeted by the compiler.