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
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
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 Target Report RejectNegative Mask(ACC_4)
23 Use 4 media accumulators
26 Target Report RejectNegative InverseMask(ACC_4, ACC_8)
27 Use 8 media accumulators
30 Target Report Mask(ALIGN_LABELS)
31 Enable label alignment optimizations
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.
41 Target RejectNegative Joined UInteger Var(frv_branch_cost_int) Init(1)
42 Set the cost of branches
45 Target Report Mask(COND_EXEC)
46 Enable conditional execution other than moves/scc
49 Target RejectNegative Joined UInteger Var(frv_condexec_insns) Init(8)
50 Change the maximum length of conditionally-executed sequences
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
57 Target Report Mask(COND_MOVE)
58 Enable conditional moves
61 Target RejectNegative Joined
62 Set the target CPU type
65 Target Undocumented Var(TARGET_DEBUG)
68 Target Undocumented Var(TARGET_DEBUG_ARG)
71 Target Undocumented Var(TARGET_DEBUG_ADDR)
74 Target Undocumented Var(TARGET_DEBUG_COND_EXEC)
77 Target Undocumented Var(TARGET_DEBUG_LOC)
80 Target Undocumented Var(TARGET_DEBUG_STACK)
83 Target Report Mask(DOUBLE)
84 Use fp double instructions
87 Target Report Mask(DWORD)
88 Change the ABI to allow double word insns
91 Target Report Mask(FDPIC)
92 Enable Function Descriptor PIC mode
95 Target Report RejectNegative InverseMask(ALLOC_CC, FIXED_CC)
99 Target Report RejectNegative Mask(FPR_32)
103 Target Report RejectNegative InverseMask(FPR_32, FPR_64)
107 Target Report RejectNegative Mask(GPR_32)
111 Target Report RejectNegative InverseMask(GPR_32, GPR_64)
115 Target Report Mask(GPREL_RO)
116 Enable use of GPREL for read-only data in FDPIC
119 Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT)
120 Use hardware floating point
123 Target Report Mask(INLINE_PLT)
124 Enable inlining of PLT in function calls
127 Target Report Mask(LIBPIC)
128 Enable PIC support for building libraries
131 Target Report Mask(LINKED_FP)
132 Follow the EABI linkage requirements
135 Target Report Mask(LONG_CALLS)
136 Disallow direct calls to global functions
139 Target Report Mask(MEDIA)
140 Use media instructions
143 Target Report Mask(MULADD)
144 Use multiply add/subtract instructions
147 Target Report Mask(MULTI_CE)
148 Enable optimizing &&/|| in conditional execution
151 Target Report Mask(NESTED_CE)
152 Enable nested conditional execution optimizations
154 ; Not used by the compiler proper.
156 Target RejectNegative
157 Do not mark ABI switches in e_flags
160 Target Report Mask(OPTIMIZE_MEMBAR)
161 Remove redundant membars
164 Target Report Mask(PACK)
165 Pack VLIW instructions
168 Target Report Mask(SCC)
169 Enable setting GPRs to the result of comparisons
172 Target RejectNegative Joined UInteger Var(frv_sched_lookahead) Init(4)
173 Change the amount of scheduler lookahead
176 Target Report RejectNegative Mask(SOFT_FLOAT)
177 Use software floating point
180 Target Report RejectNegative Mask(BIG_TLS)
181 Assume a large TLS segment
184 Target Report RejectNegative InverseMask(BIG_TLS)
185 Do not assume a large TLS segment
187 ; Not used by the compiler proper.
190 Cause gas to print tomcat statistics
192 ; Not used by the compiler proper.
194 Target RejectNegative
195 Link with the library-pic libraries
198 Target Report Mask(VLIW_BRANCH)
199 Allow branches to be packed with other instructions