]>
Commit | Line | Data |
---|---|---|
85b8555e | 1 | ; Command line options for the Renesas RL78 port of GCC. |
7adcbafe | 2 | ; Copyright (C) 2011-2022 Free Software Foundation, Inc. |
85b8555e DD |
3 | ; Contributed by Red Hat. |
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 | ||
22 | HeaderInclude | |
23 | config/rl78/rl78-opts.h | |
24 | ||
25 | msim | |
eece52b5 | 26 | Target |
85b8555e DD |
27 | Use the simulator runtime. |
28 | ||
29 | mmul= | |
eece52b5 | 30 | Target RejectNegative Joined Var(rl78_mul_type) Tolower Enum(rl78_mul_types) Init(MUL_UNINIT) |
72ed1126 | 31 | Selects the type of hardware multiplication and division to use (none/g13/g14). |
85b8555e DD |
32 | |
33 | Enum | |
34 | Name(rl78_mul_types) Type(enum rl78_mul_types) | |
35 | ||
36 | EnumValue | |
72ed1126 | 37 | Enum(rl78_mul_types) String(g10) Value(MUL_NONE) |
85b8555e DD |
38 | |
39 | EnumValue | |
72ed1126 | 40 | Enum(rl78_mul_types) String(g13) Value(MUL_G13) |
85b8555e DD |
41 | |
42 | EnumValue | |
72ed1126 NC |
43 | Enum(rl78_mul_types) String(g14) Value(MUL_G14) |
44 | ||
45 | EnumValue | |
46 | Enum(rl78_mul_types) String(rl78) Value(MUL_G14) | |
c5215a9b | 47 | |
09d5094b | 48 | mallregs |
eece52b5 | 49 | Target Mask(ALLREGS) Optimization |
09d5094b DD |
50 | Use all registers, reserving none for interrupt handlers. |
51 | ||
c5215a9b | 52 | mrelax |
eece52b5 | 53 | Target Optimization |
b5ba3a9b | 54 | Enable assembler and linker relaxation. Enabled by default at -Os. |
5c0029de | 55 | |
72ed1126 | 56 | mcpu= |
eece52b5 | 57 | Target RejectNegative Joined Var(rl78_cpu_type) ToLower Enum(rl78_cpu_types) Init(CPU_UNINIT) |
72ed1126 NC |
58 | Selects the type of RL78 core being targeted (g10/g13/g14). The default is the G14. If set, also selects the hardware multiply support to be used. |
59 | ||
60 | Enum | |
61 | Name(rl78_cpu_types) Type(enum rl78_cpu_types) | |
62 | ||
63 | EnumValue | |
64 | Enum(rl78_cpu_types) String(g10) Value(CPU_G10) | |
65 | ||
66 | EnumValue | |
67 | Enum(rl78_cpu_types) String(g13) Value(CPU_G13) | |
68 | ||
69 | EnumValue | |
70 | Enum(rl78_cpu_types) String(g14) Value(CPU_G14) | |
71 | ||
72 | EnumValue | |
73 | Enum(rl78_cpu_types) String(rl78) Value(CPU_G14) | |
74 | ||
5c0029de | 75 | mg10 |
eece52b5 | 76 | Target RejectNegative Alias(mcpu=, g10) |
a7b2e184 | 77 | Alias for -mcpu=g10. |
72ed1126 NC |
78 | |
79 | mg13 | |
eece52b5 | 80 | Target RejectNegative Alias(mcpu=, g13) |
a7b2e184 | 81 | Alias for -mcpu=g13. |
72ed1126 NC |
82 | |
83 | mg14 | |
eece52b5 | 84 | Target RejectNegative Alias(mcpu=, g14) |
a7b2e184 | 85 | Alias for -mcpu=g14. |
72ed1126 NC |
86 | |
87 | mrl78 | |
eece52b5 | 88 | Target RejectNegative Alias(mcpu=, g14) |
a7b2e184 | 89 | Alias for -mcpu=g14. |
48c528ae DD |
90 | |
91 | mes0 | |
92 | Target Mask(ES0) | |
93 | Assume ES is zero throughout program execution, use ES: for read-only data. | |
035b8879 KP |
94 | |
95 | msave-mduc-in-interrupts | |
96 | Target Mask(SAVE_MDUC_REGISTERS) | |
97 | Stores the MDUC registers in interrupt handlers for G13 target. |