]>
Commit | Line | Data |
---|---|---|
d21dcfd4 | 1 | ; Options for the Renesas M32R port of the compiler. |
2 | ||
fbd26352 | 3 | ; Copyright (C) 2005-2019 Free Software Foundation, Inc. |
d21dcfd4 | 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 | |
038d1e19 | 9 | ; Software Foundation; either version 3, or (at your option) any later |
d21dcfd4 | 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 | |
038d1e19 | 18 | ; along with GCC; see the file COPYING3. If not see |
19 | ; <http://www.gnu.org/licenses/>. | |
d21dcfd4 | 20 | |
e3d1b41b | 21 | HeaderInclude |
22 | config/m32r/m32r-opts.h | |
23 | ||
24 | ; Selected code model. | |
25 | Variable | |
26 | enum m32r_model m32r_model_selected = M32R_MODEL_DEFAULT | |
27 | ||
28 | ; Selected SDA support. | |
29 | Variable | |
30 | enum m32r_sdata m32r_sdata_selected = M32R_SDATA_DEFAULT | |
31 | ||
d21dcfd4 | 32 | m32rx |
33 | Target Report RejectNegative Mask(M32RX) | |
8fb42bbc | 34 | Compile for the m32rx. |
d21dcfd4 | 35 | |
36 | m32r2 | |
37 | Target Report RejectNegative Mask(M32R2) | |
8fb42bbc | 38 | Compile for the m32r2. |
d21dcfd4 | 39 | |
40 | m32r | |
41 | Target RejectNegative | |
8fb42bbc | 42 | Compile for the m32r. |
d21dcfd4 | 43 | |
44 | malign-loops | |
45 | Target Report Mask(ALIGN_LOOPS) | |
8fb42bbc | 46 | Align all loops to 32 byte boundary. |
d21dcfd4 | 47 | |
48 | mbranch-cost=1 | |
49 | Target Report RejectNegative Mask(BRANCH_COST) | |
8fb42bbc | 50 | Prefer branches over conditional execution. |
d21dcfd4 | 51 | |
52 | mbranch-cost=2 | |
53 | Target Report RejectNegative InverseMask(BRANCH_COST) | |
8fb42bbc | 54 | Give branches their default cost. |
d21dcfd4 | 55 | |
56 | mdebug | |
57 | Target Mask(DEBUG) | |
8fb42bbc | 58 | Display compile time statistics. |
d21dcfd4 | 59 | |
60 | mflush-func= | |
0fe44c73 | 61 | Target RejectNegative Joined Var(m32r_cache_flush_func) Init(CACHE_FLUSH_FUNC) |
8fb42bbc | 62 | Specify cache flush function. |
d21dcfd4 | 63 | |
64 | mflush-trap= | |
0fe44c73 | 65 | Target RejectNegative Joined UInteger Var(m32r_cache_flush_trap) Init(CACHE_FLUSH_TRAP) |
8fb42bbc | 66 | Specify cache flush trap number. |
d21dcfd4 | 67 | |
68 | missue-rate=1 | |
69 | Target Report RejectNegative Mask(LOW_ISSUE_RATE) | |
8fb42bbc | 70 | Only issue one instruction per cycle. |
d21dcfd4 | 71 | |
72 | missue-rate=2 | |
73 | Target Report RejectNegative InverseMask(LOW_ISSUE_RATE) | |
8fb42bbc | 74 | Allow two instructions to be issued per cycle. |
d21dcfd4 | 75 | |
76 | mmodel= | |
e3d1b41b | 77 | Target RejectNegative Joined Enum(m32r_model) Var(m32r_model_selected) |
8fb42bbc | 78 | Code size: small, medium or large. |
d21dcfd4 | 79 | |
e3d1b41b | 80 | Enum |
81 | Name(m32r_model) Type(enum m32r_model) | |
82 | ||
83 | EnumValue | |
84 | Enum(m32r_model) String(small) Value(M32R_MODEL_SMALL) | |
85 | ||
86 | EnumValue | |
87 | Enum(m32r_model) String(medium) Value(M32R_MODEL_MEDIUM) | |
88 | ||
89 | EnumValue | |
90 | Enum(m32r_model) String(large) Value(M32R_MODEL_LARGE) | |
91 | ||
d21dcfd4 | 92 | mno-flush-func |
93 | Target RejectNegative | |
8fb42bbc | 94 | Don't call any cache flush functions. |
d21dcfd4 | 95 | |
96 | mno-flush-trap | |
e3d1b41b | 97 | Target RejectNegative Var(m32r_cache_flush_trap, -1) |
8fb42bbc | 98 | Don't call any cache flush trap. |
d21dcfd4 | 99 | |
100 | ; mrelax | |
101 | ; Target Mask(RELAX) | |
102 | ||
103 | msdata= | |
e3d1b41b | 104 | Target RejectNegative Joined Enum(m32r_sdata) Var(m32r_sdata_selected) |
8fb42bbc | 105 | Small data area: none, sdata, use. |
e3d1b41b | 106 | |
107 | Enum | |
108 | Name(m32r_sdata) Type(enum m32r_sdata) | |
109 | ||
110 | EnumValue | |
111 | Enum(m32r_sdata) String(none) Value(M32R_SDATA_NONE) | |
112 | ||
113 | EnumValue | |
114 | Enum(m32r_sdata) String(sdata) Value(M32R_SDATA_SDATA) | |
115 | ||
116 | EnumValue | |
117 | Enum(m32r_sdata) String(use) Value(M32R_SDATA_USE) |