1 ; Options for the FR-V port of the compiler.
3 ; Copyright (C) 2005 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 2, 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 COPYING. If not, write to the Free
19 ; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
23 Target Report RejectNegative Mask(ACC_4)
24 Use 4 media accumulators
27 Target Report RejectNegative InverseMask(ACC_4, ACC_8)
28 Use 8 media accumulators
31 Target Report Mask(ALIGN_LABELS)
32 Enable label alignment optimizations
35 Target Report RejectNegative Mask(ALLOC_CC)
36 Dynamically allocate cc registers
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.
42 Target RejectNegative Joined UInteger Var(frv_branch_cost_int) Init(1)
43 Set the cost of branches
46 Target Report Mask(COND_EXEC)
47 Enable conditional execution other than moves/scc
50 Target RejectNegative Joined UInteger Var(frv_condexec_insns) Init(8)
51 Change the maximum length of conditionally-executed sequences
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
58 Target Report Mask(COND_MOVE)
59 Enable conditional moves
62 Target RejectNegative Joined
63 Set the target CPU type
66 Target Undocumented Var(TARGET_DEBUG)
69 Target Undocumented Var(TARGET_DEBUG_ARG)
72 Target Undocumented Var(TARGET_DEBUG_ADDR)
75 Target Undocumented Var(TARGET_DEBUG_COND_EXEC)
78 Target Undocumented Var(TARGET_DEBUG_LOC)
81 Target Undocumented Var(TARGET_DEBUG_STACK)
84 Target Report Mask(DOUBLE)
85 Use fp double instructions
88 Target Report Mask(DWORD)
89 Change the ABI to allow double word insns
92 Target Report Mask(FDPIC)
93 Enable Function Descriptor PIC mode
96 Target Report RejectNegative InverseMask(ALLOC_CC, FIXED_CC)
100 Target Report RejectNegative Mask(FPR_32)
104 Target Report RejectNegative InverseMask(FPR_32, FPR_64)
108 Target Report RejectNegative Mask(GPR_32)
112 Target Report RejectNegative InverseMask(GPR_32, GPR_64)
116 Target Report Mask(GPREL_RO)
117 Enable use of GPREL for read-only data in FDPIC
120 Target Report RejectNegative InverseMask(SOFT_FLOAT, HARD_FLOAT)
121 Use hardware floating point
124 Target Report Mask(INLINE_PLT)
125 Enable inlining of PLT in function calls
128 Target Report Mask(LIBPIC)
129 Enable PIC support for building libraries
132 Target Report Mask(LINKED_FP)
133 Follow the EABI linkage requirements
136 Target Report Mask(LONG_CALLS)
137 Disallow direct calls to global functions
140 Target Report Mask(MEDIA)
141 Use media instructions
144 Target Report Mask(MULADD)
145 Use multiply add/subtract instructions
148 Target Report Mask(MULTI_CE)
149 Enable optimizing &&/|| in conditional execution
152 Target Report Mask(NESTED_CE)
153 Enable nested conditional execution optimizations
155 ; Not used by the compiler proper.
157 Target RejectNegative
158 Do not mark ABI switches in e_flags
161 Target Report Mask(OPTIMIZE_MEMBAR)
162 Remove redundant membars
165 Target Report Mask(PACK)
166 Pack VLIW instructions
169 Target Report Mask(SCC)
170 Enable setting GPRs to the result of comparisons
173 Target RejectNegative Joined UInteger Var(frv_sched_lookahead) Init(4)
174 Change the amount of scheduler lookahead
177 Target Report RejectNegative Mask(SOFT_FLOAT)
178 Use software floating point
181 Target Report RejectNegative Mask(BIG_TLS)
182 Assume a large TLS segment
185 Target Report RejectNegative InverseMask(BIG_TLS)
186 Do not assume a large TLS segment
188 ; Not used by the compiler proper.
191 Cause gas to print tomcat statistics
193 ; Not used by the compiler proper.
195 Target RejectNegative
196 Link with the library-pic libraries
199 Target Report Mask(VLIW_BRANCH)
200 Allow branches to be packed with other instructions