2011-03-21 Daniel Jacobowitz <dan@codesourcery.com>
[official-gcc.git] / gcc / config / mep / mep.opt
blob9670d3b4f687672700206be4753ed93c419c551d
1 ; Target specific command line options for the MEP port of the compiler.
2 ; Copyright (C) 2005, 2007, 2009, 2010 Free Software Foundation, Inc.
3 ; Contributed by Red Hat Inc.
5 ; GCC is free software; you can redistribute it and/or modify it under
6 ; the terms of the GNU General Public License as published by the Free
7 ; Software Foundation; either version 3, or (at your option) any later
8 ; version.
9
10 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
11 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
12 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
13 ; for more details.
14
15 ; You should have received a copy of the GNU General Public License
16 ; along with GCC; see the file COPYING3.  If not see
17 ; <http://www.gnu.org/licenses/>.  */
19 mabsdiff
20 Target Mask(OPT_ABSDIFF)
21 Enable absolute difference instructions
23 mall-opts
24 Target RejectNegative
25 Enable all optional instructions
27 maverage
28 Target Mask(OPT_AVERAGE)
29 Enable average instructions
31 mbased=
32 Target Joined Var(mep_based_cutoff) RejectNegative UInteger Init(0)
33 Variables this size and smaller go in the based section. (default 0)
35 mbitops
36 Target Mask(OPT_BITOPS)
37 Enable bit manipulation instructions
39 mc=
40 Target Joined Var(mep_const_section) RejectNegative
41 Section to put all const variables in (tiny, near, far) (no default)
43 mclip
44 Target Mask(OPT_CLIP)
45 Enable clip instructions
47 mconfig=
48 Target Joined Var(mep_config_string) RejectNegative
49 Configuration name
51 mcop
52 Target Mask(COP)
53 Enable MeP Coprocessor
55 mcop32
56 Target Mask(COP) MaskExists RejectNegative
57 Enable MeP Coprocessor with 32-bit registers
59 mcop64
60 Target Mask(64BIT_CR_REGS) RejectNegative
61 Enable MeP Coprocessor with 64-bit registers
63 mivc2
64 Target Mask(IVC2) RejectNegative
65 Enable IVC2 scheduling
67 mdc
68 Target Mask(DC) RejectNegative
69 Const variables default to the near section
71 mdebug
72 Target Disabled Undocumented
74 mdiv
75 Target Mask(OPT_DIV)
76 Enable 32-bit divide instructions
78 meb
79 Target InverseMask(LITTLE_ENDIAN) RejectNegative
80 Use big-endian byte order
82 mel
83 Target Mask(LITTLE_ENDIAN) RejectNegative
84 Use little-endian byte order
86 mfar
87 Driver RejectNegative
89 mio-volatile
90 Target Mask(IO_VOLATILE) 
91 __io vars are volatile by default
94 Target Mask(L) RejectNegative
95 All variables default to the far section
97 mleadz
98 Target Mask(OPT_LEADZ)
99 Enable leading zero instructions
101 mlibrary
102 Target Mask(LIBRARY) RejectNegative Undocumented
105 Target Mask(M) RejectNegative
106 All variables default to the near section
108 mminmax
109 Target Mask(OPT_MINMAX)
110 Enable min/max instructions
112 mmult
113 Target Mask(OPT_MULT)
114 Enable 32-bit multiply instructions
116 mno-opts
117 Target RejectNegative
118 Disable all optional instructions
120 mrand-tpgp
121 Target Mask(RAND_TPGP) RejectNegative Undocumented
123 mrepeat
124 Target Mask(OPT_REPEAT)
125 Allow gcc to use the repeat/erepeat instructions
128 Target Mask(S) RejectNegative
129 All variables default to the tiny section
131 msatur
132 Target Mask(OPT_SATUR)
133 Enable saturation instructions
135 msdram
136 Target 
137 Use sdram version of runtime
139 msim
140 Target RejectNegative
141 Use simulator runtime
143 msimnovec
144 Target RejectNegative
145 Use simulator runtime without vectors
148 Target Mask(TF) RejectNegative
149 All functions default to the far section
151 mtiny=
152 Target Joined Var(mep_tiny_cutoff) RejectNegative UInteger Init(4)
153 Variables this size and smaller go in the tiny section. (default 4)
155 mvl32
156 Target InverseMask(OPT_VL64) Undocumented RejectNegative
158 mvl64
159 Target Mask(OPT_VL64) Undocumented RejectNegative
161 mvliw
162 Target Mask(VLIW) Undocumented