Rebase.
[official-gcc.git] / gcc / config / m32r / m32r.opt
blob64afd93b8617ed823351e0b2cc947841eb1bf87c
1 ; Options for the Renesas M32R port of the compiler.
3 ; Copyright (C) 2005-2014 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 HeaderInclude
22 config/m32r/m32r-opts.h
24 ; Selected code model.
25 Variable
26 enum m32r_model m32r_model_selected = M32R_MODEL_DEFAULT
28 ; Selected SDA support.
29 Variable
30 enum m32r_sdata m32r_sdata_selected = M32R_SDATA_DEFAULT
32 m32rx
33 Target Report RejectNegative Mask(M32RX)
34 Compile for the m32rx
36 m32r2
37 Target Report RejectNegative Mask(M32R2)
38 Compile for the m32r2
40 m32r
41 Target RejectNegative
42 Compile for the m32r
44 malign-loops
45 Target Report Mask(ALIGN_LOOPS)
46 Align all loops to 32 byte boundary
48 mbranch-cost=1
49 Target Report RejectNegative Mask(BRANCH_COST)
50 Prefer branches over conditional execution
52 mbranch-cost=2
53 Target Report RejectNegative InverseMask(BRANCH_COST)
54 Give branches their default cost
56 mdebug
57 Target Mask(DEBUG)
58 Display compile time statistics
60 mflush-func=
61 Target RejectNegative Joined Var(m32r_cache_flush_func) Init(CACHE_FLUSH_FUNC)
62 Specify cache flush function
64 mflush-trap=
65 Target RejectNegative Joined UInteger Var(m32r_cache_flush_trap) Init(CACHE_FLUSH_TRAP)
66 Specify cache flush trap number
68 missue-rate=1
69 Target Report RejectNegative Mask(LOW_ISSUE_RATE)
70 Only issue one instruction per cycle
72 missue-rate=2
73 Target Report RejectNegative InverseMask(LOW_ISSUE_RATE)
74 Allow two instructions to be issued per cycle
76 mmodel=
77 Target RejectNegative Joined Enum(m32r_model) Var(m32r_model_selected)
78 Code size: small, medium or large
80 Enum
81 Name(m32r_model) Type(enum m32r_model)
83 EnumValue
84 Enum(m32r_model) String(small) Value(M32R_MODEL_SMALL)
86 EnumValue
87 Enum(m32r_model) String(medium) Value(M32R_MODEL_MEDIUM)
89 EnumValue
90 Enum(m32r_model) String(large) Value(M32R_MODEL_LARGE)
92 mno-flush-func
93 Target RejectNegative
94 Don't call any cache flush functions
96 mno-flush-trap
97 Target RejectNegative Var(m32r_cache_flush_trap, -1)
98 Don't call any cache flush trap
100 ; mrelax
101 ; Target Mask(RELAX)
103 msdata=
104 Target RejectNegative Joined Enum(m32r_sdata) Var(m32r_sdata_selected)
105 Small data area: none, sdata, use
107 Enum
108 Name(m32r_sdata) Type(enum m32r_sdata)
110 EnumValue
111 Enum(m32r_sdata) String(none) Value(M32R_SDATA_NONE)
113 EnumValue
114 Enum(m32r_sdata) String(sdata) Value(M32R_SDATA_SDATA)
116 EnumValue
117 Enum(m32r_sdata) String(use) Value(M32R_SDATA_USE)