]>
Commit | Line | Data |
---|---|---|
97b73103 RS |
1 | ; Options for the Renesas M32R port of the compiler. |
2 | ||
7adcbafe | 3 | ; Copyright (C) 2005-2022 Free Software Foundation, Inc. |
97b73103 RS |
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 | |
2f83c7d6 | 9 | ; Software Foundation; either version 3, or (at your option) any later |
97b73103 RS |
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 | |
2f83c7d6 NC |
18 | ; along with GCC; see the file COPYING3. If not see |
19 | ; <http://www.gnu.org/licenses/>. | |
97b73103 | 20 | |
8a784afb JM |
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 | ||
97b73103 | 32 | m32rx |
eece52b5 | 33 | Target RejectNegative Mask(M32RX) |
a7b2e184 | 34 | Compile for the m32rx. |
97b73103 RS |
35 | |
36 | m32r2 | |
eece52b5 | 37 | Target RejectNegative Mask(M32R2) |
a7b2e184 | 38 | Compile for the m32r2. |
97b73103 RS |
39 | |
40 | m32r | |
41 | Target RejectNegative | |
a7b2e184 | 42 | Compile for the m32r. |
97b73103 RS |
43 | |
44 | malign-loops | |
eece52b5 | 45 | Target Mask(ALIGN_LOOPS) |
a7b2e184 | 46 | Align all loops to 32 byte boundary. |
97b73103 RS |
47 | |
48 | mbranch-cost=1 | |
eece52b5 | 49 | Target RejectNegative Mask(BRANCH_COST) |
a7b2e184 | 50 | Prefer branches over conditional execution. |
97b73103 RS |
51 | |
52 | mbranch-cost=2 | |
eece52b5 | 53 | Target RejectNegative InverseMask(BRANCH_COST) |
a7b2e184 | 54 | Give branches their default cost. |
97b73103 RS |
55 | |
56 | mdebug | |
57 | Target Mask(DEBUG) | |
a7b2e184 | 58 | Display compile time statistics. |
97b73103 RS |
59 | |
60 | mflush-func= | |
55bea00a | 61 | Target RejectNegative Joined Var(m32r_cache_flush_func) Init(CACHE_FLUSH_FUNC) |
a7b2e184 | 62 | Specify cache flush function. |
97b73103 RS |
63 | |
64 | mflush-trap= | |
55bea00a | 65 | Target RejectNegative Joined UInteger Var(m32r_cache_flush_trap) Init(CACHE_FLUSH_TRAP) |
a7b2e184 | 66 | Specify cache flush trap number. |
97b73103 RS |
67 | |
68 | missue-rate=1 | |
eece52b5 | 69 | Target RejectNegative Mask(LOW_ISSUE_RATE) |
a7b2e184 | 70 | Only issue one instruction per cycle. |
97b73103 RS |
71 | |
72 | missue-rate=2 | |
eece52b5 | 73 | Target RejectNegative InverseMask(LOW_ISSUE_RATE) |
a7b2e184 | 74 | Allow two instructions to be issued per cycle. |
97b73103 RS |
75 | |
76 | mmodel= | |
8a784afb | 77 | Target RejectNegative Joined Enum(m32r_model) Var(m32r_model_selected) |
a7b2e184 | 78 | Code size: small, medium or large. |
97b73103 | 79 | |
8a784afb JM |
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 | ||
97b73103 RS |
92 | mno-flush-func |
93 | Target RejectNegative | |
a7b2e184 | 94 | Don't call any cache flush functions. |
97b73103 RS |
95 | |
96 | mno-flush-trap | |
8a784afb | 97 | Target RejectNegative Var(m32r_cache_flush_trap, -1) |
a7b2e184 | 98 | Don't call any cache flush trap. |
97b73103 RS |
99 | |
100 | ; mrelax | |
101 | ; Target Mask(RELAX) | |
102 | ||
103 | msdata= | |
8a784afb | 104 | Target RejectNegative Joined Enum(m32r_sdata) Var(m32r_sdata_selected) |
a7b2e184 | 105 | Small data area: none, sdata, use. |
8a784afb JM |
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) |