diff options
author | Tobias Burnus <tburnus@baylibre.com> | 2024-01-29 13:06:27 +0100 |
---|---|---|
committer | Tobias Burnus <tburnus@baylibre.com> | 2024-01-29 13:06:27 +0100 |
commit | 9e89b5e92505a09b1c757662c10af340af87f11b (patch) | |
tree | 57f2d2bb39dee38517d444823059969e6a322190 /gcc | |
parent | c1a38cd67e1632d67fe9dfae0d09fd599fce6d76 (diff) | |
download | gcc-9e89b5e92505a09b1c757662c10af340af87f11b.zip gcc-9e89b5e92505a09b1c757662c10af340af87f11b.tar.gz gcc-9e89b5e92505a09b1c757662c10af340af87f11b.tar.bz2 |
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 <tburnus@baylibre.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/nvptx/nvptx.opt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/config/nvptx/nvptx.opt b/gcc/config/nvptx/nvptx.opt index 09d75fc..deb0066 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): |