]>
Commit | Line | Data |
---|---|---|
0a0da1bc RS |
1 | ; Options for the NEC V850 port of the compiler. |
2 | ||
a945c346 | 3 | ; Copyright (C) 2005-2024 Free Software Foundation, Inc. |
0a0da1bc 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 |
0a0da1bc 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/>. | |
0a0da1bc | 20 | |
4a8d3d91 JM |
21 | HeaderInclude |
22 | config/v850/v850-opts.h | |
23 | ||
24 | Variable | |
25 | int small_memory_max[(int)SMALL_MEMORY_max] = { 0, 0, 0 } | |
26 | ||
0a0da1bc | 27 | mapp-regs |
eece52b5 | 28 | Target Mask(APP_REGS) |
a7b2e184 | 29 | Use registers r2 and r5. |
0a0da1bc RS |
30 | |
31 | mbig-switch | |
eece52b5 | 32 | Target Mask(BIG_SWITCH) |
a7b2e184 | 33 | Use 4 byte entries in switch tables. |
0a0da1bc RS |
34 | |
35 | mdebug | |
eece52b5 | 36 | Target Mask(DEBUG) |
a7b2e184 | 37 | Enable backend debugging. |
0a0da1bc RS |
38 | |
39 | mdisable-callt | |
eece52b5 | 40 | Target Mask(DISABLE_CALLT) |
a7b2e184 | 41 | Do not use the callt instruction (default). |
0a0da1bc RS |
42 | |
43 | mep | |
eece52b5 | 44 | Target Mask(EP) |
a7b2e184 | 45 | Reuse r30 on a per function basis. |
0a0da1bc RS |
46 | |
47 | mghs | |
b84d824d | 48 | Target RejectNegative InverseMask(GCC_ABI) MaskExists |
0a0da1bc RS |
49 | |
50 | mlong-calls | |
eece52b5 | 51 | Target Mask(LONG_CALLS) |
a7b2e184 | 52 | Prohibit PC relative function calls. |
0a0da1bc RS |
53 | |
54 | mprolog-function | |
eece52b5 | 55 | Target Mask(PROLOG_FUNCTION) |
a7b2e184 | 56 | Use stubs for function prologues. |
0a0da1bc | 57 | |
4a8d3d91 JM |
58 | msda= |
59 | Target RejectNegative Joined UInteger | |
a7b2e184 | 60 | Set the max size of data eligible for the SDA area. |
0a0da1bc | 61 | |
4a8d3d91 JM |
62 | msda- |
63 | Target RejectNegative Joined Undocumented Alias(msda=) | |
64 | ||
0a0da1bc | 65 | msmall-sld |
eece52b5 | 66 | Target Mask(SMALL_SLD) |
a7b2e184 | 67 | Enable the use of the short load instructions. |
0a0da1bc RS |
68 | |
69 | mspace | |
70 | Target RejectNegative | |
a7b2e184 | 71 | Same as: -mep -mprolog-function. |
0a0da1bc | 72 | |
4a8d3d91 JM |
73 | mtda= |
74 | Target RejectNegative Joined UInteger | |
a7b2e184 | 75 | Set the max size of data eligible for the TDA area. |
0a0da1bc | 76 | |
4a8d3d91 JM |
77 | mtda- |
78 | Target RejectNegative Joined Undocumented Alias(mtda=) | |
79 | ||
223a9d64 | 80 | mno-strict-align |
eece52b5 | 81 | Target Mask(NO_STRICT_ALIGN) |
a7b2e184 | 82 | Do not enforce strict alignment. |
0a0da1bc | 83 | |
223a9d64 | 84 | mjump-tables-in-data-section |
eece52b5 | 85 | Target Mask(JUMP_TABLES_IN_DATA_SECTION) |
a7b2e184 | 86 | Put jump tables for switch statements into the .data section rather than the .code section. |
223a9d64 | 87 | |
0a0da1bc | 88 | mUS-bit-set |
eece52b5 | 89 | Target Mask(US_BIT_SET) |
0a0da1bc RS |
90 | |
91 | mv850 | |
eece52b5 | 92 | Target RejectNegative Mask(V850) |
a7b2e184 | 93 | Compile for the v850 processor. |
0a0da1bc RS |
94 | |
95 | mv850e | |
eece52b5 | 96 | Target RejectNegative Mask(V850E) |
a7b2e184 | 97 | Compile for the v850e processor. |
0a0da1bc RS |
98 | |
99 | mv850e1 | |
223a9d64 | 100 | Target RejectNegative Mask(V850E1) |
a7b2e184 | 101 | Compile for the v850e1 processor. |
0a0da1bc | 102 | |
a40d79d7 | 103 | mv850es |
719e1e80 | 104 | Target RejectNegative Mask(V850E1) |
a7b2e184 | 105 | Compile for the v850es variant of the v850e1. |
a40d79d7 | 106 | |
223a9d64 | 107 | mv850e2 |
eece52b5 | 108 | Target RejectNegative Mask(V850E2) |
a7b2e184 | 109 | Compile for the v850e2 processor. |
223a9d64 N |
110 | |
111 | mv850e2v3 | |
eece52b5 | 112 | Target RejectNegative Mask(V850E2V3) |
a7b2e184 | 113 | Compile for the v850e2v3 processor. |
223a9d64 | 114 | |
dbdbd982 | 115 | mv850e3v5 |
eece52b5 | 116 | Target RejectNegative Mask(V850E3V5) |
a7b2e184 | 117 | Compile for the v850e3v5 processor. |
dbdbd982 NC |
118 | |
119 | mv850e2v4 | |
120 | Target RejectNegative Mask(V850E3V5) MaskExists | |
121 | ||
122 | mloop | |
eece52b5 | 123 | Target Mask(LOOP) |
a7b2e184 | 124 | Enable v850e3v5 loop instructions. |
dbdbd982 | 125 | |
4a8d3d91 JM |
126 | mzda= |
127 | Target RejectNegative Joined UInteger | |
a7b2e184 | 128 | Set the max size of data eligible for the ZDA area. |
4a8d3d91 JM |
129 | |
130 | mzda- | |
131 | Target RejectNegative Joined Undocumented Alias(mzda=) | |
b84d824d NC |
132 | |
133 | mrelax | |
eece52b5 | 134 | Target Mask(RELAX) |
a7b2e184 | 135 | Enable relaxing in the assembler. |
b84d824d NC |
136 | |
137 | mlong-jumps | |
eece52b5 | 138 | Target Mask(BIG_SWITCH) MaskExists |
a7b2e184 | 139 | Prohibit PC relative jumps. |
b84d824d NC |
140 | |
141 | msoft-float | |
eece52b5 | 142 | Target RejectNegative Mask(SOFT_FLOAT) |
a7b2e184 | 143 | Inhibit the use of hardware floating point instructions. |
b84d824d NC |
144 | |
145 | mhard-float | |
eece52b5 | 146 | Target RejectNegative InverseMask(SOFT_FLOAT) MaskExists |
a7b2e184 | 147 | Allow the use of hardware floating point instructions for V850E2V3 and up. |
b84d824d NC |
148 | |
149 | mrh850-abi | |
eece52b5 | 150 | Target RejectNegative InverseMask(GCC_ABI) MaskExists |
a7b2e184 | 151 | Enable support for the RH850 ABI. This is the default. |
b84d824d NC |
152 | |
153 | mgcc-abi | |
eece52b5 | 154 | Target RejectNegative Mask(GCC_ABI) |
a7b2e184 | 155 | Enable support for the old GCC ABI. |
b84d824d NC |
156 | |
157 | m8byte-align | |
eece52b5 | 158 | Target Mask(8BYTE_ALIGN) |
a7b2e184 | 159 | Support alignments of up to 64-bits. |