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