]> git.ipfire.org Git - thirdparty/gcc.git/commit
[nvptx] Restore default to sm_30
authorTom de Vries <tdevries@suse.de>
Thu, 3 Mar 2022 19:20:41 +0000 (20:20 +0100)
committerTom de Vries <tdevries@suse.de>
Thu, 10 Mar 2022 11:19:47 +0000 (12:19 +0100)
commit831ecddf5bb99e15743f71b6c8257f3ceaa80ddc
treea87bb7558b309f0f49b71f64f940e0df8cb6c47e
parent7a5e036b61aa088e6b8564bc9383d37dfbb4801e
[nvptx] Restore default to sm_30

With commit 07667c911b1 ("[nvptx] Build libraries with misa=sm_30") the
intention was that the sm_xx for all libraries was switched back to sm_30
using MULTILIB_EXTRA_OPTS, without changing the default sm_35.

Testing on an sm_30 board revealed that still some libs were build with sm_35,
so fix this by switching back to default sm_30.

Tested on nvptx.

gcc/ChangeLog:

2022-03-07  Tom de Vries  <tdevries@suse.de>

PR target/104758
* config/nvptx/nvptx.opt (misa): Set default to sm_30.
* config/nvptx/t-nvptx (MULTILIB_EXTRA_OPTS): Remove misa=sm_30.
gcc/config/nvptx/nvptx.opt
gcc/config/nvptx/t-nvptx