1; Options for the Motorola 68HC11 and 68HC12 port of the compiler.
2
3; Copyright (C) 2005 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 2, 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 COPYING.  If not, write to the Free
19; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA
20; 02110-1301, USA.
21
22m6811
23Target RejectNegative InverseMask(M6812, M6811)
24Compile for a 68HC11
25
26m6812
27Target RejectNegative Mask(M6812)
28Compile for a 68HC12
29
30m68hc11
31Target RejectNegative InverseMask(M6812)
32Compile for a 68HC11
33
34m68hc12
35Target RejectNegative Mask(M6812) MaskExists
36Compile for a 68HC12
37
38; At the moment, there is no difference between the code generated
39; for -m68hc12 and -m68hcs12.
40m68hcs12
41Target RejectNegative Mask(M6812) MaskExists
42Compile for a 68HCS12
43
44m68s12
45Target RejectNegative Mask(M6812) MaskExists
46Compile for a 68HCS12
47
48mauto-incdec
49Target RejectNegative Report Mask(AUTO_INC_DEC)
50Auto pre/post decrement increment allowed
51
52minmax
53Target RejectNegative Report Mask(MIN_MAX)
54Min/max instructions allowed
55
56mlong-calls
57Target RejectNegative Report Mask(LONG_CALLS)
58Use call and rtc for function calls and returns
59
60mnoauto-incdec
61Target RejectNegative Report InverseMask(AUTO_INC_DEC)
62Auto pre/post decrement increment not allowed
63
64mnolong-calls
65Target RejectNegative Report InverseMask(LONG_CALLS)
66Use jsr and rts for function calls and returns
67
68mnominmax
69Target RejectNegative Report InverseMask(MIN_MAX)
70Min/max instructions not allowed
71
72mnorelax
73Target RejectNegative Report InverseMask(NO_DIRECT_MODE)
74Use direct addressing mode for soft registers
75
76mnoshort
77Target RejectNegative Report InverseMask(SHORT)
78Compile with 32-bit integer mode
79
80; Currently ignored.
81mreg-alloc=
82Target RejectNegative Joined
83Specify the register allocation order
84
85mrelax
86Target RejectNegative Report Mask(NO_DIRECT_MODE)
87Do not use direct addressing mode for soft registers
88
89mshort
90Target RejectNegative Report Mask(SHORT)
91Compile with 16-bit integer mode
92
93msoft-reg-count=
94Target RejectNegative Joined UInteger Var(m68hc11_soft_reg_count) Init(-1)
95Indicate the number of soft registers available
96