OSDN Git Service

* config/frv/frv.opt (moptimize-membar): New.
[pf3gnuchains/gcc-fork.git] / gcc / config / frv / frv.opt
1 ; Options for the FR-V port of the compiler.
2
3 ; Copyright (C) 2005 Free Software Foundation, Inc.
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
9 ; Software Foundation; either version 2, or (at your option) any later
10 ; version.
11 ;
12 ; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13 ; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 ; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15 ; for more details.
16 ;
17 ; You should have received a copy of the GNU General Public License
18 ; along with GCC; see the file COPYING.  If not, write to the Free
19 ; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
20 ; 02110-1301, USA.
21
22 macc-4
23 Target Report RejectNegative Mask(ACC_4)
24 Use 4 media accumulators
25
26 macc-8
27 Target Report RejectNegative InverseMask(ACC_4, ACC_8)
28 Use 8 media accumulators
29
30 malign-labels
31 Target Report Mask(ALIGN_LABELS)
32 Enable label alignment optimizations
33
34 malloc-cc
35 Target Report RejectNegative Mask(ALLOC_CC)
36 Dynamically allocate cc registers
37
38 ; We used to default the branch cost to 2, but it was changed it to 1 to avoid
39 ; generating SCC instructions and or/and-ing them together, and then doing the
40 ; branch on the result, which collectively generate much worse code.
41 mbranch-cost=
42 Target RejectNegative Joined UInteger Var(frv_branch_cost_int) Init(1)
43 Set the cost of branches
44
45 mcond-exec
46 Target Report Mask(COND_EXEC)
47 Enable conditional execution other than moves/scc
48
49 mcond-exec-insns=
50 Target RejectNegative Joined UInteger Var(frv_condexec_insns) Init(8)
51 Change the maximum length of conditionally-executed sequences
52
53 mcond-exec-temps=
54 Target RejectNegative Joined UInteger Var(frv_condexec_temps) Init(4)
55 Change the number of temporary registers that are available to conditionally-executed sequences
56
57 mcond-move
58 Target Report Mask(COND_MOVE)
59 Enable conditional moves
60
61 mcpu=
62 Target RejectNegative Joined
63 Set the target CPU type
64
65 mdebug
66 Target Undocumented Var(TARGET_DEBUG)
67
68 mdebug-arg
69 Target Undocumented Var(TARGET_DEBUG_ARG)
70
71 mdebug-addr
72 Target Undocumented Var(TARGET_DEBUG_ADDR)
73
74 mdebug-cond-exec
75 Target Undocumented Var(TARGET_DEBUG_COND_EXEC)
76
77 mdebug-loc
78 Target Undocumented Var(TARGET_DEBUG_LOC)
79
80 mdebug-stack
81 Target Undocumented Var(TARGET_DEBUG_STACK)
82
83 mdouble
84 Target Report Mask(DOUBLE)
85 Use fp double instructions
86
87 mdword
88 Target Report Mask(DWORD)
89 Change the ABI to allow double word insns
90
91 mfdpic
92 Target Report Mask(FDPIC)
93 Enable Function Descriptor PIC mode
94
95 mfixed-cc
96 Target Report RejectNegative InverseMask(ALLOC_CC, FIXED_CC)
97 Just use icc0/fcc0
98
99 mfpr-32
100 Target Report RejectNegative Mask(FPR_32)
101 Only use 32 FPRs
102
103 mfpr-64
104 Target Report RejectNegative InverseMask(FPR_32, FPR_64)
105 Use 64 FPRs
106
107 mgpr-32
108 Target Report RejectNegative Mask(GPR_32)
109 Only use 32 GPRs
110
111 mgpr-64
112 Target Report RejectNegative InverseMask(GPR_32, GPR_64)
113 Use 64 GPRs
114
115 mgprel-ro
116 Target Report Mask(GPREL_RO)
117 Enable use of GPREL for read-only data in FDPIC
118
119 mhard-float
120 Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT)
121 Use hardware floating point
122
123 minline-plt
124 Target Report Mask(INLINE_PLT)
125 Enable inlining of PLT in function calls
126
127 mlibrary-pic
128 Target Report Mask(LIBPIC)
129 Enable PIC support for building libraries
130
131 mlinked-fp
132 Target Report Mask(LINKED_FP)
133 Follow the EABI linkage requirements
134
135 mlong-calls
136 Target Report Mask(LONG_CALLS)
137 Disallow direct calls to global functions
138
139 mmedia
140 Target Report Mask(MEDIA)
141 Use media instructions
142
143 mmuladd
144 Target Report Mask(MULADD)
145 Use multiply add/subtract instructions
146
147 mmulti-cond-exec
148 Target Report Mask(MULTI_CE)
149 Enable optimizing &&/|| in conditional execution
150
151 mnested-cond-exec
152 Target Report Mask(NESTED_CE)
153 Enable nested conditional execution optimizations
154
155 ; Not used by the compiler proper.
156 mno-eflags
157 Target RejectNegative
158 Do not mark ABI switches in e_flags
159
160 moptimize-membar
161 Target Report Mask(OPTIMIZE_MEMBAR)
162 Remove redundant membars
163
164 mpack
165 Target Report Mask(PACK)
166 Pack VLIW instructions
167
168 mscc
169 Target Report Mask(SCC)
170 Enable setting GPRs to the result of comparisons
171
172 msched-lookahead=
173 Target RejectNegative Joined UInteger Var(frv_sched_lookahead) Init(4)
174 Change the amount of scheduler lookahead
175
176 msoft-float
177 Target Report RejectNegative Mask(SOFT_FLOAT)
178 Use software floating point
179
180 mTLS
181 Target Report RejectNegative Mask(BIG_TLS)
182 Assume a large TLS segment
183
184 mtls
185 Target Report RejectNegative InverseMask(BIG_TLS)
186 Do not assume a large TLS segment
187
188 ; Not used by the compiler proper.
189 mtomcat-stats
190 Target
191 Cause gas to print tomcat statistics
192
193 ; Not used by the compiler proper.
194 multilib-library-pic
195 Target RejectNegative
196 Link with the library-pic libraries
197
198 mvliw-branch
199 Target Report Mask(VLIW_BRANCH)
200 Allow branches to be packed with other instructions