]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/rl78/rl78.opt
Update copyright years.
[thirdparty/gcc.git] / gcc / config / rl78 / rl78.opt
CommitLineData
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
22HeaderInclude
23config/rl78/rl78-opts.h
24
25msim
eece52b5 26Target
85b8555e
DD
27Use the simulator runtime.
28
29mmul=
eece52b5 30Target RejectNegative Joined Var(rl78_mul_type) Tolower Enum(rl78_mul_types) Init(MUL_UNINIT)
72ed1126 31Selects the type of hardware multiplication and division to use (none/g13/g14).
85b8555e
DD
32
33Enum
34Name(rl78_mul_types) Type(enum rl78_mul_types)
35
36EnumValue
72ed1126 37Enum(rl78_mul_types) String(g10) Value(MUL_NONE)
85b8555e
DD
38
39EnumValue
72ed1126 40Enum(rl78_mul_types) String(g13) Value(MUL_G13)
85b8555e
DD
41
42EnumValue
72ed1126
NC
43Enum(rl78_mul_types) String(g14) Value(MUL_G14)
44
45EnumValue
46Enum(rl78_mul_types) String(rl78) Value(MUL_G14)
c5215a9b 47
09d5094b 48mallregs
eece52b5 49Target Mask(ALLREGS) Optimization
09d5094b
DD
50Use all registers, reserving none for interrupt handlers.
51
c5215a9b 52mrelax
eece52b5 53Target Optimization
b5ba3a9b 54Enable assembler and linker relaxation. Enabled by default at -Os.
5c0029de 55
72ed1126 56mcpu=
eece52b5 57Target RejectNegative Joined Var(rl78_cpu_type) ToLower Enum(rl78_cpu_types) Init(CPU_UNINIT)
72ed1126
NC
58Selects 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
60Enum
61Name(rl78_cpu_types) Type(enum rl78_cpu_types)
62
63EnumValue
64Enum(rl78_cpu_types) String(g10) Value(CPU_G10)
65
66EnumValue
67Enum(rl78_cpu_types) String(g13) Value(CPU_G13)
68
69EnumValue
70Enum(rl78_cpu_types) String(g14) Value(CPU_G14)
71
72EnumValue
73Enum(rl78_cpu_types) String(rl78) Value(CPU_G14)
74
5c0029de 75mg10
eece52b5 76Target RejectNegative Alias(mcpu=, g10)
a7b2e184 77Alias for -mcpu=g10.
72ed1126
NC
78
79mg13
eece52b5 80Target RejectNegative Alias(mcpu=, g13)
a7b2e184 81Alias for -mcpu=g13.
72ed1126
NC
82
83mg14
eece52b5 84Target RejectNegative Alias(mcpu=, g14)
a7b2e184 85Alias for -mcpu=g14.
72ed1126
NC
86
87mrl78
eece52b5 88Target RejectNegative Alias(mcpu=, g14)
a7b2e184 89Alias for -mcpu=g14.
48c528ae
DD
90
91mes0
92Target Mask(ES0)
93Assume ES is zero throughout program execution, use ES: for read-only data.
035b8879
KP
94
95msave-mduc-in-interrupts
96Target Mask(SAVE_MDUC_REGISTERS)
97Stores the MDUC registers in interrupt handlers for G13 target.