Merged with mainline at revision 128810.
[official-gcc.git] / gcc / config / frv / frv.opt
blobf44de1ff927f15ccbf1a5459bf5c6745bf9dc942
1 ; Options for the FR-V port of the compiler.
3 ; Copyright (C) 2005, 2007 Free Software Foundation, Inc.
5 ; This file is part of GCC.
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 3, or (at your option) any later
10 ; version.
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.
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/>.
21 macc-4
22 Target Report RejectNegative Mask(ACC_4)
23 Use 4 media accumulators
25 macc-8
26 Target Report RejectNegative InverseMask(ACC_4, ACC_8)
27 Use 8 media accumulators
29 malign-labels
30 Target Report Mask(ALIGN_LABELS)
31 Enable label alignment optimizations
33 malloc-cc
34 Target Report RejectNegative Mask(ALLOC_CC)
35 Dynamically allocate cc registers
37 ; We used to default the branch cost to 2, but it was changed it to 1 to avoid
38 ; generating SCC instructions and or/and-ing them together, and then doing the
39 ; branch on the result, which collectively generate much worse code.
40 mbranch-cost=
41 Target RejectNegative Joined UInteger Var(frv_branch_cost_int) Init(1)
42 Set the cost of branches
44 mcond-exec
45 Target Report Mask(COND_EXEC)
46 Enable conditional execution other than moves/scc
48 mcond-exec-insns=
49 Target RejectNegative Joined UInteger Var(frv_condexec_insns) Init(8)
50 Change the maximum length of conditionally-executed sequences
52 mcond-exec-temps=
53 Target RejectNegative Joined UInteger Var(frv_condexec_temps) Init(4)
54 Change the number of temporary registers that are available to conditionally-executed sequences
56 mcond-move
57 Target Report Mask(COND_MOVE)
58 Enable conditional moves
60 mcpu=
61 Target RejectNegative Joined
62 Set the target CPU type
64 mdebug
65 Target Undocumented Var(TARGET_DEBUG)
67 mdebug-arg
68 Target Undocumented Var(TARGET_DEBUG_ARG)
70 mdebug-addr
71 Target Undocumented Var(TARGET_DEBUG_ADDR)
73 mdebug-cond-exec
74 Target Undocumented Var(TARGET_DEBUG_COND_EXEC)
76 mdebug-loc
77 Target Undocumented Var(TARGET_DEBUG_LOC)
79 mdebug-stack
80 Target Undocumented Var(TARGET_DEBUG_STACK)
82 mdouble
83 Target Report Mask(DOUBLE)
84 Use fp double instructions
86 mdword
87 Target Report Mask(DWORD)
88 Change the ABI to allow double word insns
90 mfdpic
91 Target Report Mask(FDPIC)
92 Enable Function Descriptor PIC mode
94 mfixed-cc
95 Target Report RejectNegative InverseMask(ALLOC_CC, FIXED_CC)
96 Just use icc0/fcc0
98 mfpr-32
99 Target Report RejectNegative Mask(FPR_32)
100 Only use 32 FPRs
102 mfpr-64
103 Target Report RejectNegative InverseMask(FPR_32, FPR_64)
104 Use 64 FPRs
106 mgpr-32
107 Target Report RejectNegative Mask(GPR_32)
108 Only use 32 GPRs
110 mgpr-64
111 Target Report RejectNegative InverseMask(GPR_32, GPR_64)
112 Use 64 GPRs
114 mgprel-ro
115 Target Report Mask(GPREL_RO)
116 Enable use of GPREL for read-only data in FDPIC
118 mhard-float
119 Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT)
120 Use hardware floating point
122 minline-plt
123 Target Report Mask(INLINE_PLT)
124 Enable inlining of PLT in function calls
126 mlibrary-pic
127 Target Report Mask(LIBPIC)
128 Enable PIC support for building libraries
130 mlinked-fp
131 Target Report Mask(LINKED_FP)
132 Follow the EABI linkage requirements
134 mlong-calls
135 Target Report Mask(LONG_CALLS)
136 Disallow direct calls to global functions
138 mmedia
139 Target Report Mask(MEDIA)
140 Use media instructions
142 mmuladd
143 Target Report Mask(MULADD)
144 Use multiply add/subtract instructions
146 mmulti-cond-exec
147 Target Report Mask(MULTI_CE)
148 Enable optimizing &&/|| in conditional execution
150 mnested-cond-exec
151 Target Report Mask(NESTED_CE)
152 Enable nested conditional execution optimizations
154 ; Not used by the compiler proper.
155 mno-eflags
156 Target RejectNegative
157 Do not mark ABI switches in e_flags
159 moptimize-membar
160 Target Report Mask(OPTIMIZE_MEMBAR)
161 Remove redundant membars
163 mpack
164 Target Report Mask(PACK)
165 Pack VLIW instructions
167 mscc
168 Target Report Mask(SCC)
169 Enable setting GPRs to the result of comparisons
171 msched-lookahead=
172 Target RejectNegative Joined UInteger Var(frv_sched_lookahead) Init(4)
173 Change the amount of scheduler lookahead
175 msoft-float
176 Target Report RejectNegative Mask(SOFT_FLOAT)
177 Use software floating point
179 mTLS
180 Target Report RejectNegative Mask(BIG_TLS)
181 Assume a large TLS segment
183 mtls
184 Target Report RejectNegative InverseMask(BIG_TLS)
185 Do not assume a large TLS segment
187 ; Not used by the compiler proper.
188 mtomcat-stats
189 Target
190 Cause gas to print tomcat statistics
192 ; Not used by the compiler proper.
193 multilib-library-pic
194 Target RejectNegative
195 Link with the library-pic libraries
197 mvliw-branch
198 Target Report Mask(VLIW_BRANCH)
199 Allow branches to be packed with other instructions