1 ; Options for the Altera Nios II port of the compiler.
2 ; Copyright (C) 2012-2014 Free Software Foundation, Inc.
3 ; Contributed by Altera and Mentor Graphics, Inc.
5 ; This file is part of GCC.
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)
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.
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/>.
22 config/nios2/nios2-opts.h
25 int saved_fpu_custom_code[n2fpu_code_num]
28 enum nios2_ccs_code saved_custom_code_status[256]
31 int saved_custom_code_index[256]
34 Target Report Mask(HAS_DIV)
38 Target Report Mask(HAS_MUL)
39 Enable MUL instructions
42 Target Report Mask(HAS_MULX)
43 Enable MULX instructions, assume fast shifter
46 Target Report Mask(FAST_SW_DIV)
47 Use table based fast divide (default at -O3)
50 Target Report Mask(BYPASS_CACHE)
51 All memory accesses use I/O load/store instructions
54 Target Report RejectNegative Mask(BYPASS_CACHE_VOLATILE)
55 Volatile memory accesses use I/O load/store instructions
58 Target Report RejectNegative Undocumented InverseMask(BYPASS_CACHE_VOLATILE)
59 Volatile memory accesses do not use I/O load/store instructions
62 Target Report Var(TARGET_GPOPT) Init(-1)
63 Use GP-relative addressing to access small data
66 Target Report RejectNegative Mask(BIG_ENDIAN)
67 Use big-endian byte order
70 Target Report RejectNegative InverseMask(BIG_ENDIAN)
71 Use little-endian byte order
74 Target RejectNegative Joined Var(nios2_custom_fpu_cfg_string)
75 Floating point custom instruction configuration name
78 Target Report RejectNegative Var(nios2_custom_ftruncds, -1)
79 Do not use the ftruncds custom instruction
82 Target Report RejectNegative Joined UInteger Var(nios2_custom_ftruncds) Init(-1)
83 Integer id (N) of ftruncds custom instruction
86 Target Report RejectNegative Var(nios2_custom_fextsd, -1)
87 Do not use the fextsd custom instruction
90 Target Report RejectNegative Joined UInteger Var(nios2_custom_fextsd) Init(-1)
91 Integer id (N) of fextsd custom instruction
94 Target Report RejectNegative Var(nios2_custom_fixdu, -1)
95 Do not use the fixdu custom instruction
98 Target Report RejectNegative Joined UInteger Var(nios2_custom_fixdu) Init(-1)
99 Integer id (N) of fixdu custom instruction
102 Target Report RejectNegative Var(nios2_custom_fixdi, -1)
103 Do not use the fixdi custom instruction
106 Target Report RejectNegative Joined UInteger Var(nios2_custom_fixdi) Init(-1)
107 Integer id (N) of fixdi custom instruction
110 Target Report RejectNegative Var(nios2_custom_fixsu, -1)
111 Do not use the fixsu custom instruction
114 Target Report RejectNegative Joined UInteger Var(nios2_custom_fixsu) Init(-1)
115 Integer id (N) of fixsu custom instruction
118 Target Report RejectNegative Var(nios2_custom_fixsi, -1)
119 Do not use the fixsi custom instruction
122 Target Report RejectNegative Joined UInteger Var(nios2_custom_fixsi) Init(-1)
123 Integer id (N) of fixsi custom instruction
126 Target Report RejectNegative Var(nios2_custom_floatud, -1)
127 Do not use the floatud custom instruction
130 Target Report RejectNegative Joined UInteger Var(nios2_custom_floatud) Init(-1)
131 Integer id (N) of floatud custom instruction
134 Target Report RejectNegative Var(nios2_custom_floatid, -1)
135 Do not use the floatid custom instruction
138 Target Report RejectNegative Joined UInteger Var(nios2_custom_floatid) Init(-1)
139 Integer id (N) of floatid custom instruction
142 Target Report RejectNegative Var(nios2_custom_floatus, -1)
143 Do not use the floatus custom instruction
146 Target Report RejectNegative Joined UInteger Var(nios2_custom_floatus) Init(-1)
147 Integer id (N) of floatus custom instruction
150 Target Report RejectNegative Var(nios2_custom_floatis, -1)
151 Do not use the floatis custom instruction
154 Target Report RejectNegative Joined UInteger Var(nios2_custom_floatis) Init(-1)
155 Integer id (N) of floatis custom instruction
158 Target Report RejectNegative Var(nios2_custom_fcmpned, -1)
159 Do not use the fcmpned custom instruction
162 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmpned) Init(-1)
163 Integer id (N) of fcmpned custom instruction
166 Target Report RejectNegative Var(nios2_custom_fcmpeqd, -1)
167 Do not use the fcmpeqd custom instruction
170 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmpeqd) Init(-1)
171 Integer id (N) of fcmpeqd custom instruction
174 Target Report RejectNegative Var(nios2_custom_fcmpged, -1)
175 Do not use the fcmpged custom instruction
178 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmpged) Init(-1)
179 Integer id (N) of fcmpged custom instruction
182 Target Report RejectNegative Var(nios2_custom_fcmpgtd, -1)
183 Do not use the fcmpgtd custom instruction
186 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmpgtd) Init(-1)
187 Integer id (N) of fcmpgtd custom instruction
190 Target Report RejectNegative Var(nios2_custom_fcmpled, -1)
191 Do not use the fcmpled custom instruction
194 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmpled) Init(-1)
195 Integer id (N) of fcmpled custom instruction
198 Target Report RejectNegative Var(nios2_custom_fcmpltd, -1)
199 Do not use the fcmpltd custom instruction
202 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmpltd) Init(-1)
203 Integer id (N) of fcmpltd custom instruction
206 Target Report RejectNegative Var(nios2_custom_flogd, -1)
207 Do not use the flogd custom instruction
210 Target Report RejectNegative Joined UInteger Var(nios2_custom_flogd) Init(-1)
211 Integer id (N) of flogd custom instruction
214 Target Report RejectNegative Var(nios2_custom_fexpd, -1)
215 Do not use the fexpd custom instruction
218 Target Report RejectNegative Joined UInteger Var(nios2_custom_fexpd) Init(-1)
219 Integer id (N) of fexpd custom instruction
222 Target Report RejectNegative Var(nios2_custom_fatand, -1)
223 Do not use the fatand custom instruction
226 Target Report RejectNegative Joined UInteger Var(nios2_custom_fatand) Init(-1)
227 Integer id (N) of fatand custom instruction
230 Target Report RejectNegative Var(nios2_custom_ftand, -1)
231 Do not use the ftand custom instruction
234 Target Report RejectNegative Joined UInteger Var(nios2_custom_ftand) Init(-1)
235 Integer id (N) of ftand custom instruction
238 Target Report RejectNegative Var(nios2_custom_fsind, -1)
239 Do not use the fsind custom instruction
242 Target Report RejectNegative Joined UInteger Var(nios2_custom_fsind) Init(-1)
243 Integer id (N) of fsind custom instruction
246 Target Report RejectNegative Var(nios2_custom_fcosd, -1)
247 Do not use the fcosd custom instruction
250 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcosd) Init(-1)
251 Integer id (N) of fcosd custom instruction
254 Target Report RejectNegative Var(nios2_custom_fsqrtd, -1)
255 Do not use the fsqrtd custom instruction
258 Target Report RejectNegative Joined UInteger Var(nios2_custom_fsqrtd) Init(-1)
259 Integer id (N) of fsqrtd custom instruction
262 Target Report RejectNegative Var(nios2_custom_fabsd, -1)
263 Do not use the fabsd custom instruction
266 Target Report RejectNegative Joined UInteger Var(nios2_custom_fabsd) Init(-1)
267 Integer id (N) of fabsd custom instruction
270 Target Report RejectNegative Var(nios2_custom_fnegd, -1)
271 Do not use the fnegd custom instruction
274 Target Report RejectNegative Joined UInteger Var(nios2_custom_fnegd) Init(-1)
275 Integer id (N) of fnegd custom instruction
278 Target Report RejectNegative Var(nios2_custom_fmaxd, -1)
279 Do not use the fmaxd custom instruction
282 Target Report RejectNegative Joined UInteger Var(nios2_custom_fmaxd) Init(-1)
283 Integer id (N) of fmaxd custom instruction
286 Target Report RejectNegative Var(nios2_custom_fmind, -1)
287 Do not use the fmind custom instruction
290 Target Report RejectNegative Joined UInteger Var(nios2_custom_fmind) Init(-1)
291 Integer id (N) of fmind custom instruction
294 Target Report RejectNegative Var(nios2_custom_fdivd, -1)
295 Do not use the fdivd custom instruction
298 Target Report RejectNegative Joined UInteger Var(nios2_custom_fdivd) Init(-1)
299 Integer id (N) of fdivd custom instruction
302 Target Report RejectNegative Var(nios2_custom_fmuld, -1)
303 Do not use the fmuld custom instruction
306 Target Report RejectNegative Joined UInteger Var(nios2_custom_fmuld) Init(-1)
307 Integer id (N) of fmuld custom instruction
310 Target Report RejectNegative Var(nios2_custom_fsubd, -1)
311 Do not use the fsubd custom instruction
314 Target Report RejectNegative Joined UInteger Var(nios2_custom_fsubd) Init(-1)
315 Integer id (N) of fsubd custom instruction
318 Target Report RejectNegative Var(nios2_custom_faddd, -1)
319 Do not use the faddd custom instruction
322 Target Report RejectNegative Joined UInteger Var(nios2_custom_faddd) Init(-1)
323 Integer id (N) of faddd custom instruction
326 Target Report RejectNegative Var(nios2_custom_fcmpnes, -1)
327 Do not use the fcmpnes custom instruction
330 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmpnes) Init(-1)
331 Integer id (N) of fcmpnes custom instruction
334 Target Report RejectNegative Var(nios2_custom_fcmpeqs, -1)
335 Do not use the fcmpeqs custom instruction
338 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmpeqs) Init(-1)
339 Integer id (N) of fcmpeqs custom instruction
342 Target Report RejectNegative Var(nios2_custom_fcmpges, -1)
343 Do not use the fcmpges custom instruction
346 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmpges) Init(-1)
347 Integer id (N) of fcmpges custom instruction
350 Target Report RejectNegative Var(nios2_custom_fcmpgts, -1)
351 Do not use the fcmpgts custom instruction
354 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmpgts) Init(-1)
355 Integer id (N) of fcmpgts custom instruction
358 Target Report RejectNegative Var(nios2_custom_fcmples, -1)
359 Do not use the fcmples custom instruction
362 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmples) Init(-1)
363 Integer id (N) of fcmples custom instruction
366 Target Report RejectNegative Var(nios2_custom_fcmplts, -1)
367 Do not use the fcmplts custom instruction
370 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcmplts) Init(-1)
371 Integer id (N) of fcmplts custom instruction
374 Target Report RejectNegative Var(nios2_custom_flogs, -1)
375 Do not use the flogs custom instruction
378 Target Report RejectNegative Joined UInteger Var(nios2_custom_flogs) Init(-1)
379 Integer id (N) of flogs custom instruction
382 Target Report RejectNegative Var(nios2_custom_fexps, -1)
383 Do not use the fexps custom instruction
386 Target Report RejectNegative Joined UInteger Var(nios2_custom_fexps) Init(-1)
387 Integer id (N) of fexps custom instruction
390 Target Report RejectNegative Var(nios2_custom_fatans, -1)
391 Do not use the fatans custom instruction
394 Target Report RejectNegative Joined UInteger Var(nios2_custom_fatans) Init(-1)
395 Integer id (N) of fatans custom instruction
398 Target Report RejectNegative Var(nios2_custom_ftans, -1)
399 Do not use the ftans custom instruction
402 Target Report RejectNegative Joined UInteger Var(nios2_custom_ftans) Init(-1)
403 Integer id (N) of ftans custom instruction
406 Target Report RejectNegative Var(nios2_custom_fsins, -1)
407 Do not use the fsins custom instruction
410 Target Report RejectNegative Joined UInteger Var(nios2_custom_fsins) Init(-1)
411 Integer id (N) of fsins custom instruction
414 Target Report RejectNegative Var(nios2_custom_fcoss, -1)
415 Do not use the fcoss custom instruction
418 Target Report RejectNegative Joined UInteger Var(nios2_custom_fcoss) Init(-1)
419 Integer id (N) of fcoss custom instruction
422 Target Report RejectNegative Var(nios2_custom_fsqrts, -1)
423 Do not use the fsqrts custom instruction
426 Target Report RejectNegative Joined UInteger Var(nios2_custom_fsqrts) Init(-1)
427 Integer id (N) of fsqrts custom instruction
430 Target Report RejectNegative Var(nios2_custom_fabss, -1)
431 Do not use the fabss custom instr
434 Target Report RejectNegative Joined UInteger Var(nios2_custom_fabss) Init(-1)
435 Integer id (N) of fabss custom instruction
438 Target Report RejectNegative Var(nios2_custom_fnegs, -1)
439 Do not use the fnegs custom instruction
442 Target Report RejectNegative Joined UInteger Var(nios2_custom_fnegs) Init(-1)
443 Integer id (N) of fnegs custom instruction
446 Target Report RejectNegative Var(nios2_custom_fmaxs, -1)
447 Do not use the fmaxs custom instruction
450 Target Report RejectNegative Joined UInteger Var(nios2_custom_fmaxs) Init(-1)
451 Integer id (N) of fmaxs custom instruction
454 Target Report RejectNegative Var(nios2_custom_fmins, -1)
455 Do not use the fmins custom instruction
458 Target Report RejectNegative Joined UInteger Var(nios2_custom_fmins) Init(-1)
459 Integer id (N) of fmins custom instruction
462 Target Report RejectNegative Var(nios2_custom_fdivs, -1)
463 Do not use the fdivs custom instruction
466 Target Report RejectNegative Joined UInteger Var(nios2_custom_fdivs) Init(-1)
467 Integer id (N) of fdivs custom instruction
470 Target Report RejectNegative Var(nios2_custom_fmuls, -1)
471 Do not use the fmuls custom instruction
474 Target Report RejectNegative Joined UInteger Var(nios2_custom_fmuls) Init(-1)
475 Integer id (N) of fmuls custom instruction
478 Target Report RejectNegative Var(nios2_custom_fsubs, -1)
479 Do not use the fsubs custom instruction
482 Target Report RejectNegative Joined UInteger Var(nios2_custom_fsubs) Init(-1)
483 Integer id (N) of fsubs custom instruction
486 Target Report RejectNegative Var(nios2_custom_fadds, -1)
487 Do not use the fadds custom instruction
490 Target Report RejectNegative Joined UInteger Var(nios2_custom_fadds) Init(-1)
491 Integer id (N) of fadds custom instruction
494 Target Report RejectNegative Var(nios2_custom_frdy, -1)
495 Do not use the frdy custom instruction
498 Target Report RejectNegative Joined UInteger Var(nios2_custom_frdy) Init(-1)
499 Integer id (N) of frdy custom instruction
502 Target Report RejectNegative Var(nios2_custom_frdxhi, -1)
503 Do not use the frdxhi custom instruction
506 Target Report RejectNegative Joined UInteger Var(nios2_custom_frdxhi) Init(-1)
507 Integer id (N) of frdxhi custom instruction
510 Target Report RejectNegative Var(nios2_custom_frdxlo, -1)
511 Do not use the frdxlo custom instruction
514 Target Report RejectNegative Joined UInteger Var(nios2_custom_frdxlo) Init(-1)
515 Integer id (N) of frdxlo custom instruction
518 Target Report RejectNegative Var(nios2_custom_fwry, -1)
519 Do not use the fwry custom instruction
522 Target Report RejectNegative Joined UInteger Var(nios2_custom_fwry) Init(-1)
523 Integer id (N) of fwry custom instruction
526 Target Report RejectNegative Var(nios2_custom_fwrx, -1)
527 Do not use the fwrx custom instruction
530 Target Report RejectNegative Joined UInteger Var(nios2_custom_fwrx) Init(-1)
531 Integer id (N) of fwrx custom instruction