]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/config/nios2/nios2.opt
Update copyright years.
[thirdparty/gcc.git] / gcc / config / nios2 / nios2.opt
1 ; Options for the Altera Nios II port of the compiler.
2 ; Copyright (C) 2012-2021 Free Software Foundation, Inc.
3 ; Contributed by Altera and Mentor Graphics, Inc.
4 ;
5 ; This file is part of GCC.
6 ;
7 ; GCC is free software; you can redistribute it and/or modify
8 ; it under the terms of the GNU General Public License as published by
9 ; the Free Software Foundation; either version 3, or (at your option)
10 ; any later version.
11 ;
12 ; GCC is distributed in the hope that it will be useful,
13 ; but WITHOUT ANY WARRANTY; without even the implied warranty of
14 ; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 ; GNU General Public License for more details.
16 ;
17 ; You should have received a copy of the GNU General Public License
18 ; along with GCC; see the file COPYING3. If not see
19 ; <http://www.gnu.org/licenses/>.
20
21 HeaderInclude
22 config/nios2/nios2-opts.h
23
24 TargetSave
25 int saved_fpu_custom_code[n2fpu_code_num]
26
27 TargetSave
28 enum nios2_ccs_code saved_custom_code_status[256]
29
30 TargetSave
31 int saved_custom_code_index[256]
32
33 mhw-div
34 Target Mask(HAS_DIV)
35 Enable DIV, DIVU.
36
37 mhw-mul
38 Target Mask(HAS_MUL)
39 Enable MUL instructions.
40
41 mhw-mulx
42 Target Mask(HAS_MULX)
43 Enable MULX instructions, assume fast shifter.
44
45 mfast-sw-div
46 Target Mask(FAST_SW_DIV)
47 Use table based fast divide (default at -O3).
48
49 mbypass-cache
50 Target Mask(BYPASS_CACHE)
51 All memory accesses use I/O load/store instructions.
52
53 mno-cache-volatile
54 Target RejectNegative Mask(BYPASS_CACHE_VOLATILE)
55 Volatile memory accesses use I/O load/store instructions.
56
57 mcache-volatile
58 Target RejectNegative Undocumented InverseMask(BYPASS_CACHE_VOLATILE)
59 Volatile memory accesses do not use I/O load/store instructions.
60
61 mgpopt=
62 Target RejectNegative Joined Enum(nios2_gpopt_type) Var(nios2_gpopt_option) Init(gpopt_unspecified)
63 Enable/disable GP-relative addressing.
64
65 Enum
66 Name(nios2_gpopt_type) Type(enum nios2_gpopt_type)
67 Valid options for GP-relative addressing (for -mgpopt):
68
69 EnumValue
70 Enum(nios2_gpopt_type) String(none) Value(gpopt_none)
71
72 EnumValue
73 Enum(nios2_gpopt_type) String(local) Value(gpopt_local)
74
75 EnumValue
76 Enum(nios2_gpopt_type) String(global) Value(gpopt_global)
77
78 EnumValue
79 Enum(nios2_gpopt_type) String(data) Value(gpopt_data)
80
81 EnumValue
82 Enum(nios2_gpopt_type) String(all) Value(gpopt_all)
83
84 mgpopt
85 Target RejectNegative Var(nios2_gpopt_option, gpopt_local)
86 Equivalent to -mgpopt=local.
87
88 mno-gpopt
89 Target RejectNegative Var(nios2_gpopt_option, gpopt_none)
90 Equivalent to -mgpopt=none.
91
92 meb
93 Target RejectNegative Mask(BIG_ENDIAN)
94 Use big-endian byte order.
95
96 mel
97 Target RejectNegative InverseMask(BIG_ENDIAN)
98 Use little-endian byte order.
99
100 mcustom-fpu-cfg=
101 Target RejectNegative Joined Var(nios2_custom_fpu_cfg_string)
102 Floating point custom instruction configuration name.
103
104 mno-custom-ftruncds
105 Target RejectNegative Var(nios2_custom_ftruncds, -1)
106 Do not use the ftruncds custom instruction.
107
108 mcustom-ftruncds=
109 Target RejectNegative Joined UInteger Var(nios2_custom_ftruncds) Init(-1)
110 Integer id (N) of ftruncds custom instruction.
111
112 mno-custom-fextsd
113 Target RejectNegative Var(nios2_custom_fextsd, -1)
114 Do not use the fextsd custom instruction.
115
116 mcustom-fextsd=
117 Target RejectNegative Joined UInteger Var(nios2_custom_fextsd) Init(-1)
118 Integer id (N) of fextsd custom instruction.
119
120 mno-custom-fixdu
121 Target RejectNegative Var(nios2_custom_fixdu, -1)
122 Do not use the fixdu custom instruction.
123
124 mcustom-fixdu=
125 Target RejectNegative Joined UInteger Var(nios2_custom_fixdu) Init(-1)
126 Integer id (N) of fixdu custom instruction.
127
128 mno-custom-fixdi
129 Target RejectNegative Var(nios2_custom_fixdi, -1)
130 Do not use the fixdi custom instruction.
131
132 mcustom-fixdi=
133 Target RejectNegative Joined UInteger Var(nios2_custom_fixdi) Init(-1)
134 Integer id (N) of fixdi custom instruction.
135
136 mno-custom-fixsu
137 Target RejectNegative Var(nios2_custom_fixsu, -1)
138 Do not use the fixsu custom instruction.
139
140 mcustom-fixsu=
141 Target RejectNegative Joined UInteger Var(nios2_custom_fixsu) Init(-1)
142 Integer id (N) of fixsu custom instruction.
143
144 mno-custom-fixsi
145 Target RejectNegative Var(nios2_custom_fixsi, -1)
146 Do not use the fixsi custom instruction.
147
148 mcustom-fixsi=
149 Target RejectNegative Joined UInteger Var(nios2_custom_fixsi) Init(-1)
150 Integer id (N) of fixsi custom instruction.
151
152 mno-custom-floatud
153 Target RejectNegative Var(nios2_custom_floatud, -1)
154 Do not use the floatud custom instruction.
155
156 mcustom-floatud=
157 Target RejectNegative Joined UInteger Var(nios2_custom_floatud) Init(-1)
158 Integer id (N) of floatud custom instruction.
159
160 mno-custom-floatid
161 Target RejectNegative Var(nios2_custom_floatid, -1)
162 Do not use the floatid custom instruction.
163
164 mcustom-floatid=
165 Target RejectNegative Joined UInteger Var(nios2_custom_floatid) Init(-1)
166 Integer id (N) of floatid custom instruction.
167
168 mno-custom-floatus
169 Target RejectNegative Var(nios2_custom_floatus, -1)
170 Do not use the floatus custom instruction.
171
172 mcustom-floatus=
173 Target RejectNegative Joined UInteger Var(nios2_custom_floatus) Init(-1)
174 Integer id (N) of floatus custom instruction.
175
176 mno-custom-floatis
177 Target RejectNegative Var(nios2_custom_floatis, -1)
178 Do not use the floatis custom instruction.
179
180 mcustom-floatis=
181 Target RejectNegative Joined UInteger Var(nios2_custom_floatis) Init(-1)
182 Integer id (N) of floatis custom instruction.
183
184 mno-custom-fcmpned
185 Target RejectNegative Var(nios2_custom_fcmpned, -1)
186 Do not use the fcmpned custom instruction.
187
188 mcustom-fcmpned=
189 Target RejectNegative Joined UInteger Var(nios2_custom_fcmpned) Init(-1)
190 Integer id (N) of fcmpned custom instruction.
191
192 mno-custom-fcmpeqd
193 Target RejectNegative Var(nios2_custom_fcmpeqd, -1)
194 Do not use the fcmpeqd custom instruction.
195
196 mcustom-fcmpeqd=
197 Target RejectNegative Joined UInteger Var(nios2_custom_fcmpeqd) Init(-1)
198 Integer id (N) of fcmpeqd custom instruction.
199
200 mno-custom-fcmpged
201 Target RejectNegative Var(nios2_custom_fcmpged, -1)
202 Do not use the fcmpged custom instruction.
203
204 mcustom-fcmpged=
205 Target RejectNegative Joined UInteger Var(nios2_custom_fcmpged) Init(-1)
206 Integer id (N) of fcmpged custom instruction.
207
208 mno-custom-fcmpgtd
209 Target RejectNegative Var(nios2_custom_fcmpgtd, -1)
210 Do not use the fcmpgtd custom instruction.
211
212 mcustom-fcmpgtd=
213 Target RejectNegative Joined UInteger Var(nios2_custom_fcmpgtd) Init(-1)
214 Integer id (N) of fcmpgtd custom instruction.
215
216 mno-custom-fcmpled
217 Target RejectNegative Var(nios2_custom_fcmpled, -1)
218 Do not use the fcmpled custom instruction.
219
220 mcustom-fcmpled=
221 Target RejectNegative Joined UInteger Var(nios2_custom_fcmpled) Init(-1)
222 Integer id (N) of fcmpled custom instruction.
223
224 mno-custom-fcmpltd
225 Target RejectNegative Var(nios2_custom_fcmpltd, -1)
226 Do not use the fcmpltd custom instruction.
227
228 mcustom-fcmpltd=
229 Target RejectNegative Joined UInteger Var(nios2_custom_fcmpltd) Init(-1)
230 Integer id (N) of fcmpltd custom instruction.
231
232 mno-custom-flogd
233 Target RejectNegative Var(nios2_custom_flogd, -1)
234 Do not use the flogd custom instruction.
235
236 mcustom-flogd=
237 Target RejectNegative Joined UInteger Var(nios2_custom_flogd) Init(-1)
238 Integer id (N) of flogd custom instruction.
239
240 mno-custom-fexpd
241 Target RejectNegative Var(nios2_custom_fexpd, -1)
242 Do not use the fexpd custom instruction.
243
244 mcustom-fexpd=
245 Target RejectNegative Joined UInteger Var(nios2_custom_fexpd) Init(-1)
246 Integer id (N) of fexpd custom instruction.
247
248 mno-custom-fatand
249 Target RejectNegative Var(nios2_custom_fatand, -1)
250 Do not use the fatand custom instruction.
251
252 mcustom-fatand=
253 Target RejectNegative Joined UInteger Var(nios2_custom_fatand) Init(-1)
254 Integer id (N) of fatand custom instruction.
255
256 mno-custom-ftand
257 Target RejectNegative Var(nios2_custom_ftand, -1)
258 Do not use the ftand custom instruction.
259
260 mcustom-ftand=
261 Target RejectNegative Joined UInteger Var(nios2_custom_ftand) Init(-1)
262 Integer id (N) of ftand custom instruction.
263
264 mno-custom-fsind
265 Target RejectNegative Var(nios2_custom_fsind, -1)
266 Do not use the fsind custom instruction.
267
268 mcustom-fsind=
269 Target RejectNegative Joined UInteger Var(nios2_custom_fsind) Init(-1)
270 Integer id (N) of fsind custom instruction.
271
272 mno-custom-fcosd
273 Target RejectNegative Var(nios2_custom_fcosd, -1)
274 Do not use the fcosd custom instruction.
275
276 mcustom-fcosd=
277 Target RejectNegative Joined UInteger Var(nios2_custom_fcosd) Init(-1)
278 Integer id (N) of fcosd custom instruction.
279
280 mno-custom-fsqrtd
281 Target RejectNegative Var(nios2_custom_fsqrtd, -1)
282 Do not use the fsqrtd custom instruction.
283
284 mcustom-fsqrtd=
285 Target RejectNegative Joined UInteger Var(nios2_custom_fsqrtd) Init(-1)
286 Integer id (N) of fsqrtd custom instruction.
287
288 mno-custom-fabsd
289 Target RejectNegative Var(nios2_custom_fabsd, -1)
290 Do not use the fabsd custom instruction.
291
292 mcustom-fabsd=
293 Target RejectNegative Joined UInteger Var(nios2_custom_fabsd) Init(-1)
294 Integer id (N) of fabsd custom instruction.
295
296 mno-custom-fnegd
297 Target RejectNegative Var(nios2_custom_fnegd, -1)
298 Do not use the fnegd custom instruction.
299
300 mcustom-fnegd=
301 Target RejectNegative Joined UInteger Var(nios2_custom_fnegd) Init(-1)
302 Integer id (N) of fnegd custom instruction.
303
304 mno-custom-fmaxd
305 Target RejectNegative Var(nios2_custom_fmaxd, -1)
306 Do not use the fmaxd custom instruction.
307
308 mcustom-fmaxd=
309 Target RejectNegative Joined UInteger Var(nios2_custom_fmaxd) Init(-1)
310 Integer id (N) of fmaxd custom instruction.
311
312 mno-custom-fmind
313 Target RejectNegative Var(nios2_custom_fmind, -1)
314 Do not use the fmind custom instruction.
315
316 mcustom-fmind=
317 Target RejectNegative Joined UInteger Var(nios2_custom_fmind) Init(-1)
318 Integer id (N) of fmind custom instruction.
319
320 mno-custom-fdivd
321 Target RejectNegative Var(nios2_custom_fdivd, -1)
322 Do not use the fdivd custom instruction.
323
324 mcustom-fdivd=
325 Target RejectNegative Joined UInteger Var(nios2_custom_fdivd) Init(-1)
326 Integer id (N) of fdivd custom instruction.
327
328 mno-custom-fmuld
329 Target RejectNegative Var(nios2_custom_fmuld, -1)
330 Do not use the fmuld custom instruction.
331
332 mcustom-fmuld=
333 Target RejectNegative Joined UInteger Var(nios2_custom_fmuld) Init(-1)
334 Integer id (N) of fmuld custom instruction.
335
336 mno-custom-fsubd
337 Target RejectNegative Var(nios2_custom_fsubd, -1)
338 Do not use the fsubd custom instruction.
339
340 mcustom-fsubd=
341 Target RejectNegative Joined UInteger Var(nios2_custom_fsubd) Init(-1)
342 Integer id (N) of fsubd custom instruction.
343
344 mno-custom-faddd
345 Target RejectNegative Var(nios2_custom_faddd, -1)
346 Do not use the faddd custom instruction.
347
348 mcustom-faddd=
349 Target RejectNegative Joined UInteger Var(nios2_custom_faddd) Init(-1)
350 Integer id (N) of faddd custom instruction.
351
352 mno-custom-fcmpnes
353 Target RejectNegative Var(nios2_custom_fcmpnes, -1)
354 Do not use the fcmpnes custom instruction.
355
356 mcustom-fcmpnes=
357 Target RejectNegative Joined UInteger Var(nios2_custom_fcmpnes) Init(-1)
358 Integer id (N) of fcmpnes custom instruction.
359
360 mno-custom-fcmpeqs
361 Target RejectNegative Var(nios2_custom_fcmpeqs, -1)
362 Do not use the fcmpeqs custom instruction.
363
364 mcustom-fcmpeqs=
365 Target RejectNegative Joined UInteger Var(nios2_custom_fcmpeqs) Init(-1)
366 Integer id (N) of fcmpeqs custom instruction.
367
368 mno-custom-fcmpges
369 Target RejectNegative Var(nios2_custom_fcmpges, -1)
370 Do not use the fcmpges custom instruction.
371
372 mcustom-fcmpges=
373 Target RejectNegative Joined UInteger Var(nios2_custom_fcmpges) Init(-1)
374 Integer id (N) of fcmpges custom instruction.
375
376 mno-custom-fcmpgts
377 Target RejectNegative Var(nios2_custom_fcmpgts, -1)
378 Do not use the fcmpgts custom instruction.
379
380 mcustom-fcmpgts=
381 Target RejectNegative Joined UInteger Var(nios2_custom_fcmpgts) Init(-1)
382 Integer id (N) of fcmpgts custom instruction.
383
384 mno-custom-fcmples
385 Target RejectNegative Var(nios2_custom_fcmples, -1)
386 Do not use the fcmples custom instruction.
387
388 mcustom-fcmples=
389 Target RejectNegative Joined UInteger Var(nios2_custom_fcmples) Init(-1)
390 Integer id (N) of fcmples custom instruction.
391
392 mno-custom-fcmplts
393 Target RejectNegative Var(nios2_custom_fcmplts, -1)
394 Do not use the fcmplts custom instruction.
395
396 mcustom-fcmplts=
397 Target RejectNegative Joined UInteger Var(nios2_custom_fcmplts) Init(-1)
398 Integer id (N) of fcmplts custom instruction.
399
400 mno-custom-flogs
401 Target RejectNegative Var(nios2_custom_flogs, -1)
402 Do not use the flogs custom instruction.
403
404 mcustom-flogs=
405 Target RejectNegative Joined UInteger Var(nios2_custom_flogs) Init(-1)
406 Integer id (N) of flogs custom instruction.
407
408 mno-custom-fexps
409 Target RejectNegative Var(nios2_custom_fexps, -1)
410 Do not use the fexps custom instruction.
411
412 mcustom-fexps=
413 Target RejectNegative Joined UInteger Var(nios2_custom_fexps) Init(-1)
414 Integer id (N) of fexps custom instruction.
415
416 mno-custom-fatans
417 Target RejectNegative Var(nios2_custom_fatans, -1)
418 Do not use the fatans custom instruction.
419
420 mcustom-fatans=
421 Target RejectNegative Joined UInteger Var(nios2_custom_fatans) Init(-1)
422 Integer id (N) of fatans custom instruction.
423
424 mno-custom-ftans
425 Target RejectNegative Var(nios2_custom_ftans, -1)
426 Do not use the ftans custom instruction.
427
428 mcustom-ftans=
429 Target RejectNegative Joined UInteger Var(nios2_custom_ftans) Init(-1)
430 Integer id (N) of ftans custom instruction.
431
432 mno-custom-fsins
433 Target RejectNegative Var(nios2_custom_fsins, -1)
434 Do not use the fsins custom instruction.
435
436 mcustom-fsins=
437 Target RejectNegative Joined UInteger Var(nios2_custom_fsins) Init(-1)
438 Integer id (N) of fsins custom instruction.
439
440 mno-custom-fcoss
441 Target RejectNegative Var(nios2_custom_fcoss, -1)
442 Do not use the fcoss custom instruction.
443
444 mcustom-fcoss=
445 Target RejectNegative Joined UInteger Var(nios2_custom_fcoss) Init(-1)
446 Integer id (N) of fcoss custom instruction.
447
448 mno-custom-fsqrts
449 Target RejectNegative Var(nios2_custom_fsqrts, -1)
450 Do not use the fsqrts custom instruction.
451
452 mcustom-fsqrts=
453 Target RejectNegative Joined UInteger Var(nios2_custom_fsqrts) Init(-1)
454 Integer id (N) of fsqrts custom instruction.
455
456 mno-custom-fabss
457 Target RejectNegative Var(nios2_custom_fabss, -1)
458 Do not use the fabss custom instr.
459
460 mcustom-fabss=
461 Target RejectNegative Joined UInteger Var(nios2_custom_fabss) Init(-1)
462 Integer id (N) of fabss custom instruction.
463
464 mno-custom-fnegs
465 Target RejectNegative Var(nios2_custom_fnegs, -1)
466 Do not use the fnegs custom instruction.
467
468 mcustom-fnegs=
469 Target RejectNegative Joined UInteger Var(nios2_custom_fnegs) Init(-1)
470 Integer id (N) of fnegs custom instruction.
471
472 mno-custom-fmaxs
473 Target RejectNegative Var(nios2_custom_fmaxs, -1)
474 Do not use the fmaxs custom instruction.
475
476 mcustom-fmaxs=
477 Target RejectNegative Joined UInteger Var(nios2_custom_fmaxs) Init(-1)
478 Integer id (N) of fmaxs custom instruction.
479
480 mno-custom-fmins
481 Target RejectNegative Var(nios2_custom_fmins, -1)
482 Do not use the fmins custom instruction.
483
484 mcustom-fmins=
485 Target RejectNegative Joined UInteger Var(nios2_custom_fmins) Init(-1)
486 Integer id (N) of fmins custom instruction.
487
488 mno-custom-fdivs
489 Target RejectNegative Var(nios2_custom_fdivs, -1)
490 Do not use the fdivs custom instruction.
491
492 mcustom-fdivs=
493 Target RejectNegative Joined UInteger Var(nios2_custom_fdivs) Init(-1)
494 Integer id (N) of fdivs custom instruction.
495
496 mno-custom-fmuls
497 Target RejectNegative Var(nios2_custom_fmuls, -1)
498 Do not use the fmuls custom instruction.
499
500 mcustom-fmuls=
501 Target RejectNegative Joined UInteger Var(nios2_custom_fmuls) Init(-1)
502 Integer id (N) of fmuls custom instruction.
503
504 mno-custom-fsubs
505 Target RejectNegative Var(nios2_custom_fsubs, -1)
506 Do not use the fsubs custom instruction.
507
508 mcustom-fsubs=
509 Target RejectNegative Joined UInteger Var(nios2_custom_fsubs) Init(-1)
510 Integer id (N) of fsubs custom instruction.
511
512 mno-custom-fadds
513 Target RejectNegative Var(nios2_custom_fadds, -1)
514 Do not use the fadds custom instruction.
515
516 mcustom-fadds=
517 Target RejectNegative Joined UInteger Var(nios2_custom_fadds) Init(-1)
518 Integer id (N) of fadds custom instruction.
519
520 mno-custom-frdy
521 Target RejectNegative Var(nios2_custom_frdy, -1)
522 Do not use the frdy custom instruction.
523
524 mcustom-frdy=
525 Target RejectNegative Joined UInteger Var(nios2_custom_frdy) Init(-1)
526 Integer id (N) of frdy custom instruction.
527
528 mno-custom-frdxhi
529 Target RejectNegative Var(nios2_custom_frdxhi, -1)
530 Do not use the frdxhi custom instruction.
531
532 mcustom-frdxhi=
533 Target RejectNegative Joined UInteger Var(nios2_custom_frdxhi) Init(-1)
534 Integer id (N) of frdxhi custom instruction.
535
536 mno-custom-frdxlo
537 Target RejectNegative Var(nios2_custom_frdxlo, -1)
538 Do not use the frdxlo custom instruction.
539
540 mcustom-frdxlo=
541 Target RejectNegative Joined UInteger Var(nios2_custom_frdxlo) Init(-1)
542 Integer id (N) of frdxlo custom instruction.
543
544 mno-custom-fwry
545 Target RejectNegative Var(nios2_custom_fwry, -1)
546 Do not use the fwry custom instruction.
547
548 mcustom-fwry=
549 Target RejectNegative Joined UInteger Var(nios2_custom_fwry) Init(-1)
550 Integer id (N) of fwry custom instruction.
551
552 mno-custom-fwrx
553 Target RejectNegative Var(nios2_custom_fwrx, -1)
554 Do not use the fwrx custom instruction.
555
556 mcustom-fwrx=
557 Target RejectNegative Joined UInteger Var(nios2_custom_fwrx) Init(-1)
558 Integer id (N) of fwrx custom instruction.
559
560 mno-custom-round
561 Target RejectNegative Var(nios2_custom_round, -1)
562 Do not use the round custom instruction.
563
564 mcustom-round=
565 Target RejectNegative Joined UInteger Var(nios2_custom_round) Init(-1)
566 Integer id (N) of round custom instruction.
567
568 march=
569 Target RejectNegative Joined Enum(nios2_arch_type) Var(nios2_arch_option) Init(ARCH_R1)
570 Specify the name of the target architecture.
571
572 Enum
573 Name(nios2_arch_type) Type(enum nios2_arch_type)
574 Valid Nios II ISA levels (for -march):
575
576 EnumValue
577 Enum(nios2_arch_type) String(r1) Value(ARCH_R1)
578
579 EnumValue
580 Enum(nios2_arch_type) String(r2) Value(ARCH_R2)
581
582 mbmx
583 Target Mask(HAS_BMX)
584 Enable generation of R2 BMX instructions.
585
586 mcdx
587 Target Mask(HAS_CDX)
588 Enable generation of R2 CDX instructions.
589
590 mgprel-sec=
591 Target RejectNegative Joined Var(nios2_gprel_sec) Init(NULL)
592 Regular expression matching additional GP-addressible section names.
593
594 mr0rel-sec=
595 Target RejectNegative Joined Var(nios2_r0rel_sec) Init(NULL)
596 Regular expression matching section names for r0-relative addressing.