]>
Commit | Line | Data |
---|---|---|
fe609b0f EB |
1 | ; Options for the SPARC port of the compiler |
2 | ; | |
aa53e58b | 3 | ; Copyright (C) 2005, 2007, 2010, 2011 Free Software Foundation, Inc. |
fe609b0f EB |
4 | ; |
5 | ; This file is part of GCC. | |
6 | ; | |
7 | ; GCC is free software; you can redistribute it and/or modify it under | |
8 | ; the terms of the GNU General Public License as published by the Free | |
2f83c7d6 | 9 | ; Software Foundation; either version 3, or (at your option) any later |
fe609b0f EB |
10 | ; version. |
11 | ; | |
12 | ; GCC is distributed in the hope that it will be useful, but WITHOUT | |
13 | ; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
14 | ; or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
15 | ; License for more details. | |
16 | ; | |
17 | ; You should have received a copy of the GNU General Public License | |
2f83c7d6 NC |
18 | ; along with GCC; see the file COPYING3. If not see |
19 | ; <http://www.gnu.org/licenses/>. | |
fe609b0f | 20 | |
aa53e58b JM |
21 | HeaderInclude |
22 | config/sparc/sparc-opts.h | |
23 | ||
fe609b0f EB |
24 | mfpu |
25 | Target Report Mask(FPU) | |
26 | Use hardware FP | |
27 | ||
28 | mhard-float | |
29 | Target RejectNegative Mask(FPU) MaskExists | |
30 | Use hardware FP | |
31 | ||
32 | msoft-float | |
33 | Target RejectNegative InverseMask(FPU) | |
34 | Do not use hardware FP | |
35 | ||
b11b0904 EB |
36 | mflat |
37 | Target Report Mask(FLAT) | |
38 | Use flat register window model | |
39 | ||
fe609b0f EB |
40 | munaligned-doubles |
41 | Target Report Mask(UNALIGNED_DOUBLES) | |
42 | Assume possible double misalignment | |
43 | ||
fe609b0f EB |
44 | mapp-regs |
45 | Target Report Mask(APP_REGS) | |
46 | Use ABI reserved registers | |
47 | ||
48 | mhard-quad-float | |
49 | Target Report RejectNegative Mask(HARD_QUAD) | |
50 | Use hardware quad FP instructions | |
51 | ||
52 | msoft-quad-float | |
53 | Target Report RejectNegative InverseMask(HARD_QUAD) | |
54 | Do not use hardware quad fp instructions | |
55 | ||
56 | mv8plus | |
57 | Target Report Mask(V8PLUS) | |
58 | Compile for V8+ ABI | |
59 | ||
60 | mvis | |
61 | Target Report Mask(VIS) | |
62 | Use UltraSPARC Visual Instruction Set extensions | |
63 | ||
e8b141b5 DM |
64 | mfmaf |
65 | Target Report Mask(FMAF) | |
66 | Use UltraSPARC Fused Multiply-Add extensions | |
67 | ||
fe609b0f EB |
68 | mptr64 |
69 | Target Report RejectNegative Mask(PTR64) | |
70 | Pointers are 64-bit | |
71 | ||
72 | mptr32 | |
73 | Target Report RejectNegative InverseMask(PTR64) | |
74 | Pointers are 32-bit | |
75 | ||
76 | m64 | |
77 | Target Report RejectNegative Mask(64BIT) | |
78 | Use 64-bit ABI | |
79 | ||
80 | m32 | |
81 | Target Report RejectNegative InverseMask(64BIT) | |
82 | Use 32-bit ABI | |
83 | ||
84 | mstack-bias | |
85 | Target Report Mask(STACK_BIAS) | |
86 | Use stack bias | |
87 | ||
88 | mfaster-structs | |
89 | Target Report Mask(FASTER_STRUCTS) | |
90 | Use structs on stronger alignment for double-word copies | |
91 | ||
92 | mrelax | |
93 | Target | |
94 | Optimize tail call instructions in assembler and linker | |
95 | ||
96 | mcpu= | |
023592aa | 97 | Target RejectNegative Joined Var(sparc_cpu_and_features) Enum(sparc_processor_type) Init(PROCESSOR_V7) |
fe609b0f EB |
98 | Use features of and schedule code for given CPU |
99 | ||
100 | mtune= | |
023592aa | 101 | Target RejectNegative Joined Var(sparc_cpu) Enum(sparc_processor_type) Init(PROCESSOR_V7) |
fe609b0f EB |
102 | Schedule code for given CPU |
103 | ||
aa53e58b JM |
104 | Enum |
105 | Name(sparc_processor_type) Type(enum processor_type) | |
106 | ||
e3b3fa45 RO |
107 | EnumValue |
108 | Enum(sparc_processor_type) String(native) Value(PROCESSOR_NATIVE) DriverOnly | |
109 | ||
aa53e58b JM |
110 | EnumValue |
111 | Enum(sparc_processor_type) String(v7) Value(PROCESSOR_V7) | |
112 | ||
113 | EnumValue | |
114 | Enum(sparc_processor_type) String(cypress) Value(PROCESSOR_CYPRESS) | |
115 | ||
116 | EnumValue | |
117 | Enum(sparc_processor_type) String(v8) Value(PROCESSOR_V8) | |
118 | ||
119 | EnumValue | |
120 | Enum(sparc_processor_type) String(supersparc) Value(PROCESSOR_SUPERSPARC) | |
121 | ||
122 | EnumValue | |
123 | Enum(sparc_processor_type) String(hypersparc) Value(PROCESSOR_HYPERSPARC) | |
124 | ||
125 | EnumValue | |
126 | Enum(sparc_processor_type) String(leon) Value(PROCESSOR_LEON) | |
127 | ||
128 | EnumValue | |
129 | Enum(sparc_processor_type) String(sparclite) Value(PROCESSOR_SPARCLITE) | |
130 | ||
131 | EnumValue | |
132 | Enum(sparc_processor_type) String(f930) Value(PROCESSOR_F930) | |
133 | ||
134 | EnumValue | |
135 | Enum(sparc_processor_type) String(f934) Value(PROCESSOR_F934) | |
136 | ||
137 | EnumValue | |
138 | Enum(sparc_processor_type) String(sparclite86x) Value(PROCESSOR_SPARCLITE86X) | |
139 | ||
140 | EnumValue | |
141 | Enum(sparc_processor_type) String(sparclet) Value(PROCESSOR_SPARCLET) | |
142 | ||
143 | EnumValue | |
144 | Enum(sparc_processor_type) String(tsc701) Value(PROCESSOR_TSC701) | |
145 | ||
146 | EnumValue | |
147 | Enum(sparc_processor_type) String(v9) Value(PROCESSOR_V9) | |
148 | ||
149 | EnumValue | |
150 | Enum(sparc_processor_type) String(ultrasparc) Value(PROCESSOR_ULTRASPARC) | |
151 | ||
152 | EnumValue | |
153 | Enum(sparc_processor_type) String(ultrasparc3) Value(PROCESSOR_ULTRASPARC3) | |
154 | ||
155 | EnumValue | |
156 | Enum(sparc_processor_type) String(niagara) Value(PROCESSOR_NIAGARA) | |
157 | ||
158 | EnumValue | |
159 | Enum(sparc_processor_type) String(niagara2) Value(PROCESSOR_NIAGARA2) | |
160 | ||
3e64c239 DM |
161 | EnumValue |
162 | Enum(sparc_processor_type) String(niagara3) Value(PROCESSOR_NIAGARA3) | |
163 | ||
164 | EnumValue | |
165 | Enum(sparc_processor_type) String(niagara4) Value(PROCESSOR_NIAGARA4) | |
166 | ||
fe609b0f | 167 | mcmodel= |
55bea00a | 168 | Target RejectNegative Joined Var(sparc_cmodel_string) |
fe609b0f EB |
169 | Use given SPARC-V9 code model |
170 | ||
2225b57c CD |
171 | mstd-struct-return |
172 | Target Report RejectNegative Var(sparc_std_struct_return) | |
173 | Enable strict 32-bit psABI struct return checking. | |
fe609b0f EB |
174 | |
175 | Mask(LITTLE_ENDIAN) | |
176 | ;; Generate code for little-endian | |
177 | ||
178 | Mask(LONG_DOUBLE_128) | |
179 | ;; Use 128-bit long double | |
180 | ||
181 | Mask(SPARCLITE) | |
182 | ;; Generate code for SPARClite | |
183 | ||
184 | Mask(SPARCLET) | |
185 | ;; Generate code for SPARClet | |
186 | ||
187 | Mask(V8) | |
188 | ;; Generate code for SPARC-V8 | |
189 | ||
190 | Mask(V9) | |
191 | ;; Generate code for SPARC-V9 | |
192 | ||
193 | Mask(DEPRECATED_V8_INSNS) | |
194 | ;; Generate code that uses the V8 instructions deprecated | |
195 | ;; in the V9 architecture. |