public inbox for gcc-cvs@sourceware.org help / color / mirror / Atom feed
From: Tom de Vries <vries@gcc.gnu.org> To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-7463] [nvptx] Build libraries with mptx=3.1 Date: Thu, 3 Mar 2022 09:44:48 +0000 (GMT) [thread overview] Message-ID: <20220303094448.7E6BE385803F@sourceware.org> (raw) https://gcc.gnu.org/g:5b5e456f0187406e17444b6e40d974f94524f2a2 commit r12-7463-g5b5e456f0187406e17444b6e40d974f94524f2a2 Author: Tom de Vries <tdevries@suse.de> Date: Thu Mar 3 09:22:42 2022 +0100 [nvptx] Build libraries with mptx=3.1 In gcc-5 to gcc-11, the ptx isa version was 3.1. On trunk, the default is now 6.0, which is also what will be the value in the libraries. Consequently, there may be setups with an older driver that worked with gcc-11, but will become unsupported with gcc-12. Fix this by building the libraries with mptx=3.1. After this, setups with an older driver still won't work out of the box with gcc-12, because the default ptx isa version has changed, but should work after specifying mptx=3.1. gcc/ChangeLog: 2022-03-03 Tom de Vries <tdevries@suse.de> * config/nvptx/t-nvptx (MULTILIB_EXTRA_OPTS): Add mptx=3.1. Diff: --- gcc/config/nvptx/t-nvptx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/config/nvptx/t-nvptx b/gcc/config/nvptx/t-nvptx index 056d2dd2d04..8f67264d132 100644 --- a/gcc/config/nvptx/t-nvptx +++ b/gcc/config/nvptx/t-nvptx @@ -32,4 +32,4 @@ s-nvptx-gen-opt: $(srcdir)/config/nvptx/nvptx-sm.def MULTILIB_OPTIONS = mgomp -MULTILIB_EXTRA_OPTS = misa=sm_30 +MULTILIB_EXTRA_OPTS = misa=sm_30 mptx=3.1
reply other threads:[~2022-03-03 9:44 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20220303094448.7E6BE385803F@sourceware.org \ --to=vries@gcc.gnu.org \ --cc=gcc-cvs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).