From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1534) id 2A8B33858CDA; Mon, 29 Jan 2024 12:06:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2A8B33858CDA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1706530019; bh=nAS9Lh9NrlC0ZWyvoQ0NfvMeEexG3xXBDpZKXnGOxaE=; h=From:To:Subject:Date:From; b=ciefcodT4oH67yPBrs/Eb2u5ncWZaLCIQotP2E4v4esSRknx1mdoGHE6b/lZtOwvi 5ofK1o6sP7B6Tj9uiw4I7anfYySzfSmLx9fie7l4f6dZJggpfZ09Oux59kf93yqbKv uVPv5RE8FYF3xi7tjC7b0av/UobzuQkJyTrsoYJk= MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Tobias Burnus To: gcc-cvs@gcc.gnu.org Subject: [gcc r14-8491] nvptx.opt: Add sm_89 and sm_90a to -march-map= X-Act-Checkin: gcc X-Git-Author: Tobias Burnus X-Git-Refname: refs/heads/master X-Git-Oldrev: c1a38cd67e1632d67fe9dfae0d09fd599fce6d76 X-Git-Newrev: 9e89b5e92505a09b1c757662c10af340af87f11b Message-Id: <20240129120659.2A8B33858CDA@sourceware.org> Date: Mon, 29 Jan 2024 12:06:59 +0000 (GMT) List-Id: https://gcc.gnu.org/g:9e89b5e92505a09b1c757662c10af340af87f11b commit r14-8491-g9e89b5e92505a09b1c757662c10af340af87f11b Author: Tobias Burnus Date: Mon Jan 29 13:06:27 2024 +0100 nvptx.opt: Add sm_89 and sm_90a to -march-map= The -march-map= options maps the compute capability to the closest lower compute capability that has been implemented; for sm_89 and sm_90a, that were previously missing, that's currently -march=sm_80 alias -misa=sm_80. gcc/ChangeLog: * config/nvptx/nvptx.opt (march-map=): Add sm_89 and sm_90a. Signed-off-by: Tobias Burnus Diff: --- gcc/config/nvptx/nvptx.opt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/config/nvptx/nvptx.opt b/gcc/config/nvptx/nvptx.opt index 09d75fca0379..deb006663d74 100644 --- a/gcc/config/nvptx/nvptx.opt +++ b/gcc/config/nvptx/nvptx.opt @@ -108,9 +108,15 @@ Target RejectNegative Alias(misa=,sm_80) march-map=sm_87 Target RejectNegative Alias(misa=,sm_80) +march-map=sm_89 +Target RejectNegative Alias(misa=,sm_80) + march-map=sm_90 Target RejectNegative Alias(misa=,sm_80) +march-map=sm_90a +Target RejectNegative Alias(misa=,sm_80) + Enum Name(ptx_version) Type(int) Known PTX ISA versions (for use with the -mptx= option):