aboutsummaryrefslogtreecommitdiff
path: root/gcc/tree-ssa-alias.h
diff options
context:
space:
mode:
authorTom de Vries <tdevries@suse.de>2022-03-08 09:25:39 +0100
committerTom de Vries <tdevries@suse.de>2022-03-10 12:19:47 +0100
commit975e7ade35095839b4dd2cc0f2b303bd63950db9 (patch)
treebdd6af4aaf6eb1b960cabe09e5991d5366dc0472 /gcc/tree-ssa-alias.h
parent831ecddf5bb99e15743f71b6c8257f3ceaa80ddc (diff)
downloadgcc-975e7ade35095839b4dd2cc0f2b303bd63950db9.zip
gcc-975e7ade35095839b4dd2cc0f2b303bd63950db9.tar.gz
gcc-975e7ade35095839b4dd2cc0f2b303bd63950db9.tar.bz2
[nvptx] Add multilib mptx=3.1
With commit 5b5e456f018 ("[nvptx] Build libraries with mptx=3.1") the intention was that the ptx isa version for all libraries was switched back to 3.1 using MULTILIB_EXTRA_OPTS, without changing the default 6.0. Further testing revealed that this is not the case, and some libs were still build with 6.0. Fix this by introducing an mptx=3.1 multilib. Adding a multilib should be avoided if possible, because it adds build time. But I think it's a reasonable trade-off. With --disable-multilib, the default lib with misa=sm_30 and mptx=6.0 should be usable in most scenarios. With --enable-multilib, we can enable older drivers, as well as generate code similar to how that was done in previous gcc releases, which is very useful. Tested on nvptx. gcc/ChangeLog: 2022-03-07 Tom de Vries <tdevries@suse.de> * config/nvptx/t-nvptx (MULTILIB_EXTRA_OPTS): Move mptx=3.1 ... (MULTILIB_OPTIONS): ... here.
Diffstat (limited to 'gcc/tree-ssa-alias.h')
0 files changed, 0 insertions, 0 deletions