1 ; Command line options for the Renesas RL78 port of GCC.
2 ; Copyright (C) 2011-2017 Free Software Foundation, Inc.
3 ; Contributed by Red Hat.
5 ; This file is part of GCC.
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
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
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 ;---------------------------------------------------
23 config/rl78/rl78-opts.h
27 Use the simulator runtime.
30 Target RejectNegative Joined Var(rl78_mul_type) Report Tolower Enum(rl78_mul_types) Init(MUL_UNINIT)
31 Selects the type of hardware multiplication and division to use (none/g13/g14).
34 Name(rl78_mul_types) Type(enum rl78_mul_types)
37 Enum(rl78_mul_types) String(g10) Value(MUL_NONE)
40 Enum(rl78_mul_types) String(g13) Value(MUL_G13)
43 Enum(rl78_mul_types) String(g14) Value(MUL_G14)
46 Enum(rl78_mul_types) String(rl78) Value(MUL_G14)
49 Target Mask(ALLREGS) Report Optimization
50 Use all registers, reserving none for interrupt handlers.
53 Target Report Optimization
54 Enable assembler and linker relaxation. Enabled by default at -Os.
57 Target RejectNegative Joined Var(rl78_cpu_type) Report ToLower Enum(rl78_cpu_types) Init(CPU_UNINIT)
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.
61 Name(rl78_cpu_types) Type(enum rl78_cpu_types)
64 Enum(rl78_cpu_types) String(g10) Value(CPU_G10)
67 Enum(rl78_cpu_types) String(g13) Value(CPU_G13)
70 Enum(rl78_cpu_types) String(g14) Value(CPU_G14)
73 Enum(rl78_cpu_types) String(rl78) Value(CPU_G14)
76 Target RejectNegative Report Alias(mcpu=, g10)
80 Target RejectNegative Report Alias(mcpu=, g13)
84 Target RejectNegative Report Alias(mcpu=, g14)
88 Target RejectNegative Report Alias(mcpu=, g14)
93 Assume ES is zero throughout program execution, use ES: for read-only data.
95 msave-mduc-in-interrupts
96 Target Mask(SAVE_MDUC_REGISTERS)
97 Stores the MDUC registers in interrupt handlers for G13 target.