aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.7/gcc/config/mep/mep.opt
blob: 0ea19e6efaa2627a69ded76d8ddaa5657122ab2c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
; Target specific command line options for the MEP port of the compiler.
; Copyright (C) 2005, 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
; Contributed by Red Hat Inc.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 3, or (at your option) any later
; version.
; 
; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
; WARRANTY; without even the implied warranty of MERCHANTABILITY or
; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
; for more details.
; 
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING3.  If not see
; <http://www.gnu.org/licenses/>.  */

Mask(IVC2)

mabsdiff
Target Mask(OPT_ABSDIFF)
Enable absolute difference instructions

mall-opts
Target RejectNegative
Enable all optional instructions

maverage
Target Mask(OPT_AVERAGE)
Enable average instructions

mbased=
Target Joined Var(mep_based_cutoff) RejectNegative UInteger Init(0)
Variables this size and smaller go in the based section. (default 0)

mbitops
Target Mask(OPT_BITOPS)
Enable bit manipulation instructions

mc=
Target Joined Var(mep_const_section) RejectNegative
Section to put all const variables in (tiny, near, far) (no default)

mclip
Target Mask(OPT_CLIP)
Enable clip instructions

mconfig=
Target Joined Var(mep_config_string) RejectNegative
Configuration name

mcop
Target Mask(COP)
Enable MeP Coprocessor

mcop32
Target Mask(COP) RejectNegative
Enable MeP Coprocessor with 32-bit registers

mcop64
Target Mask(64BIT_CR_REGS) RejectNegative
Enable MeP Coprocessor with 64-bit registers

mivc2
Target RejectNegative Var(mep_deferred_options) Defer
Enable IVC2 scheduling

mdc
Target Mask(DC) RejectNegative
Const variables default to the near section

mdebug
Target Disabled Undocumented

mdiv
Target Mask(OPT_DIV)
Enable 32-bit divide instructions

meb
Target InverseMask(LITTLE_ENDIAN) RejectNegative
Use big-endian byte order

mel
Target Mask(LITTLE_ENDIAN) RejectNegative
Use little-endian byte order

mfar
Driver RejectNegative

mio-volatile
Target Mask(IO_VOLATILE) 
__io vars are volatile by default

ml
Target Mask(L) RejectNegative
All variables default to the far section

mleadz
Target Mask(OPT_LEADZ)
Enable leading zero instructions

mlibrary
Target Mask(LIBRARY) RejectNegative Undocumented

mm
Target Mask(M) RejectNegative
All variables default to the near section

mminmax
Target Mask(OPT_MINMAX)
Enable min/max instructions

mmult
Target Mask(OPT_MULT)
Enable 32-bit multiply instructions

mno-opts
Target RejectNegative
Disable all optional instructions

mrand-tpgp
Target Mask(RAND_TPGP) RejectNegative Undocumented

mrepeat
Target Mask(OPT_REPEAT)
Allow gcc to use the repeat/erepeat instructions

ms
Target Mask(S) RejectNegative
All variables default to the tiny section

msatur
Target Mask(OPT_SATUR)
Enable saturation instructions

msdram
Target 
Use sdram version of runtime

msim
Target RejectNegative
Use simulator runtime

msimnovec
Target RejectNegative
Use simulator runtime without vectors

mtf
Target Mask(TF) RejectNegative
All functions default to the far section

mtiny=
Target Joined Var(mep_tiny_cutoff) RejectNegative UInteger Init(4)
Variables this size and smaller go in the tiny section. (default 4)

mvl32
Target InverseMask(OPT_VL64) Undocumented RejectNegative

mvl64
Target Mask(OPT_VL64) Undocumented RejectNegative

mvliw
Target Mask(VLIW) Undocumented