Skip various cmp-mem-const tests on lp64 hppa*-*-*
[official-gcc.git] / gcc / config / nvptx / nvptx.opt
blob09d75fca03799cafaba5d896d175b271081a5182
1 ; Options for the NVPTX port
2 ; Copyright (C) 2014-2024 Free Software Foundation, Inc.
4 ; This file is part of GCC.
6 ; GCC is free software; you can redistribute it and/or modify it under
7 ; the terms of the GNU General Public License as published by the Free
8 ; Software Foundation; either version 3, or (at your option) any later
9 ; version.
11 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
12 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
13 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
14 ; for more details.
16 ; You should have received a copy of the GNU General Public License
17 ; along with GCC; see the file COPYING3.  If not see
18 ; <http://www.gnu.org/licenses/>.
20 ; It's not clear whether this was ever build/tested/used, so this is no longer
21 ; exposed to the user.
22 ;m32
23 ;Target RejectNegative InverseMask(ABI64)
24 ;Generate code for a 32-bit ABI.
26 m64
27 Target RejectNegative Mask(ABI64)
28 Ignored, but preserved for backward compatibility.  Only 64-bit ABI is
29 supported.
31 mmainkernel
32 Target RejectNegative
33 Link in code for a __main kernel.
35 moptimize
36 Target Var(nvptx_optimize) Init(-1)
37 Optimize partition neutering.
39 msoft-stack
40 Target Mask(SOFT_STACK)
41 Use custom stacks instead of local memory for automatic storage.
43 msoft-stack-reserve-local=
44 Target Joined RejectNegative UInteger Var(nvptx_softstack_size) Init(128)
45 Specify size of .local memory used for stack when the exact amount is not known.
47 muniform-simt
48 Target Mask(UNIFORM_SIMT)
49 Generate code that can keep local state uniform across all lanes.
51 mgomp
52 Target Mask(GOMP)
53 Generate code for OpenMP offloading: enables -msoft-stack and -muniform-simt.
55 misa=
56 Target RejectNegative ToLower Joined Enum(ptx_isa) Var(ptx_isa_option)
57 Specify the PTX ISA target architecture to use.
59 march=
60 Target RejectNegative Joined Alias(misa=)
61 Alias:
63 march-map=sm_30
64 Target RejectNegative Alias(misa=,sm_30)
66 march-map=sm_32
67 Target RejectNegative Alias(misa=,sm_30)
69 march-map=sm_35
70 Target RejectNegative Alias(misa=,sm_35)
72 march-map=sm_37
73 Target RejectNegative Alias(misa=,sm_35)
75 march-map=sm_50
76 Target RejectNegative Alias(misa=,sm_35)
78 march-map=sm_52
79 Target RejectNegative Alias(misa=,sm_35)
81 march-map=sm_53
82 Target RejectNegative Alias(misa=,sm_53)
84 march-map=sm_60
85 Target RejectNegative Alias(misa=,sm_53)
87 march-map=sm_61
88 Target RejectNegative Alias(misa=,sm_53)
90 march-map=sm_62
91 Target RejectNegative Alias(misa=,sm_53)
93 march-map=sm_70
94 Target RejectNegative Alias(misa=,sm_70)
96 march-map=sm_72
97 Target RejectNegative Alias(misa=,sm_70)
99 march-map=sm_75
100 Target RejectNegative Alias(misa=,sm_75)
102 march-map=sm_80
103 Target RejectNegative Alias(misa=,sm_80)
105 march-map=sm_86
106 Target RejectNegative Alias(misa=,sm_80)
108 march-map=sm_87
109 Target RejectNegative Alias(misa=,sm_80)
111 march-map=sm_90
112 Target RejectNegative Alias(misa=,sm_80)
114 Enum
115 Name(ptx_version) Type(int)
116 Known PTX ISA versions (for use with the -mptx= option):
118 EnumValue
119 Enum(ptx_version) String(3.1) Value(PTX_VERSION_3_1)
121 EnumValue
122 Enum(ptx_version) String(6.0) Value(PTX_VERSION_6_0)
124 EnumValue
125 Enum(ptx_version) String(6.3) Value(PTX_VERSION_6_3)
127 EnumValue
128 Enum(ptx_version) String(7.0) Value(PTX_VERSION_7_0)
130 EnumValue
131 Enum(ptx_version) String(_) Value(PTX_VERSION_default)
133 mptx=
134 Target RejectNegative ToLower Joined Enum(ptx_version) Var(ptx_version_option)
135 Specify the PTX ISA version to use.
137 minit-regs=
138 Target Var(nvptx_init_regs) IntegerRange(0, 3) Joined UInteger Init(3)
139 Initialize ptx registers.
141 mptx-comment
142 Target Var(nvptx_comment) Init(1) Undocumented
144 malias
145 Target Var(nvptx_alias) Init(0) Undocumented
147 mexperimental
148 Target Var(nvptx_experimental) Init(0) Undocumented