2008-01-10 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / config / c4x / c4x.opt
blobb52f6f6bdd65c5cbb06a7347163de0a329d2a4b4
1 ; Options for the TMS320C[34]x port of the compiler.
3 ; Copyright (C) 2005, 2007 Free Software Foundation, Inc.
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
10 ; version.
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.
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/>.
21 m30
22 Target RejectNegative
23 Generate code for C30 CPU
25 m31
26 Target RejectNegative
27 Generate code for C31 CPU
29 m32
30 Target RejectNegative
31 Generate code for C32 CPU
33 m33
34 Target RejectNegative
35 Generate code for C33 CPU
37 m40
38 Target RejectNegative
39 Generate code for C40 CPU
41 m44
42 Target RejectNegative
43 Generate code for C44 CPU
45 maliases
46 Target Report Mask(ALIASES)
47 Assume that pointers may be aliased
49 mbig
50 Target RejectNegative Report InverseMask(SMALL)
51 Big memory model
53 mbk
54 Target Report Mask(BK)
55 Use the BK register as a general purpose register
57 mcpu=
58 Target RejectNegative Joined
59 -mcpu=CPU       Generate code for CPU
61 mdb
62 Target Report Mask(DB)
63 Enable use of DB instruction
65 mdebug
66 Target Report Mask(DEBUG)
67 Enable debugging
69 mdevel
70 Target Report Mask(DEVEL)
71 Enable new features under development
73 mfast-fix
74 Target Report Mask(FAST_FIX)
75 Use fast but approximate float to integer conversion
77 mforce
78 Target Report Mask(FORCE)
79 Force RTL generation to emit valid 3 operand insns
81 mhoist
82 Target Report Mask(HOIST)
83 Force constants into registers to improve hoisting
85 misr-dp-reload
86 Target Mask(PARANOID) MaskExists
87 Save DP across ISR in small memory model
89 mloop-unsigned
90 Target Report Mask(LOOP_UNSIGNED)
91 Allow unsigned iteration counts for RPTB/DB
93 mmemparm
94 Target RejectNegative Report Mask(MEMPARM)
95 Pass arguments on the stack
97 mmpyi
98 Target Report Mask(MPYI)
99 Use MPYI instruction for C3x
101 mparallel-insns
102 Target Report Mask(PARALLEL)
103 Enable parallel instructions
105 mparallel-mpy
106 Target Report Mask(PARALLEL_MPY)
107 Enable MPY||ADD and MPY||SUB instructions
109 mparanoid
110 Target Report Mask(PARANOID)
111 Save DP across ISR in small memory model
113 mpreserve-float
114 Target Report Mask(PRESERVE_FLOAT)
115 Preserve all 40 bits of FP reg across call
117 mregparm
118 Target RejectNegative Report InverseMask(MEMPARM)
119 Pass arguments in registers
121 mrptb
122 Target Report Mask(RPTB)
123 Enable use of RTPB instruction
125 mrpts
126 Target Report Mask(RPTS)
127 Enable use of RTPS instruction
129 mrpts=
130 Target RejectNegative Joined UInteger Var(c4x_rpts_cycles)
131 -mrpts=N        Set the maximum number of iterations for RPTS to N
133 msmall
134 Target RejectNegative Report Mask(SMALL)
135 Small memory model
138 Target Report Mask(TI)
139 Emit code compatible with TI tools