diff options
author | Thomas Schwinge <tschwinge@baylibre.com> | 2024-11-10 17:32:55 +0100 |
---|---|---|
committer | Thomas Schwinge <tschwinge@baylibre.com> | 2024-12-06 12:06:40 +0100 |
commit | 380ceb23b130a2b9ec541607a3eb1ffd0387c576 (patch) | |
tree | fa988ab0552b84c2b73ad52a6a135590b779a2c0 /gcc/config.gcc | |
parent | 86b3a7532d56f74fcd1c362f2da7f95e8cc4e4a6 (diff) | |
download | gcc-380ceb23b130a2b9ec541607a3eb1ffd0387c576.zip gcc-380ceb23b130a2b9ec541607a3eb1ffd0387c576.tar.gz gcc-380ceb23b130a2b9ec541607a3eb1ffd0387c576.tar.bz2 |
nvptx: Clarify that our baseline is PTX ISA Version 3.1
Added in commit decde11183bdccc46587d6614b75f3d56a2f2e4a
"[nvptx] Choose -mptx default based on -misa", 'PTX_VERSION_3_0' was added for
'first_ptx_version_supporting_sm' to return it for 'PTX_ISA_SM30' (as
documented by Nvidia). It's however then immediately overridden to 3.1, which
in GCC/nvptx "has been the smallest version historically", and also '-mptx=3.0'
isn't exposed to the user. As we also elsewhere (machine description etc.)
assume that our baseline is PTX ISA Version 3.1, there's no real value added in
maintaining 'PTX_VERSION_3_0' for purposes of 'first_ptx_version_supporting_sm'
only.
No change in behavior intended.
gcc/
* config/nvptx/nvptx-opts.h (enum ptx_version): Remove
'PTX_VERSION_3_0'.
* config/nvptx/nvptx.cc (first_ptx_version_supporting_sm)
(default_ptx_version_option, ptx_version_to_string)
(ptx_version_to_number): Adjust.
* config/nvptx/nvptx.h: Comment.
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions