Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/csky/csky.opt @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 ;; Command-line options for the C-SKY back end. | |
2 ;; Copyright (C) 2018 Free Software Foundation, Inc. | |
3 ;; Contributed by C-SKY Microsystems and Mentor Graphics. | |
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/csky/csky_opts.h | |
24 | |
25 ;; Architecture/CPU options. | |
26 ;; Normal CPU and arch enums are loaded from csky_tables.opt. | |
27 | |
28 ; For backward compatibility only. | |
29 march=ck803s | |
30 Target Report Var(flag_arch_ck803s) Undocumented | |
31 | |
32 march= | |
33 Target RejectNegative ToLower Joined Enum(csky_arch) Var(csky_arch_option) Save | |
34 Specify the target architecture. | |
35 | |
36 mcpu= | |
37 Target RejectNegative ToLower Joined Enum(csky_processor_type) Var(csky_cpu_option) Init(TARGET_CPU_csky_none) Save | |
38 Specify the target processor. | |
39 | |
40 ;; Endianness options. | |
41 | |
42 mbig-endian | |
43 Target RejectNegative Report Mask(BIG_ENDIAN) | |
44 Generate big-endian code. | |
45 | |
46 EB | |
47 Target RejectNegative Report Alias(mbig-endian) Undocumented | |
48 | |
49 mlittle-endian | |
50 Target RejectNegative Report InverseMask(BIG_ENDIAN) | |
51 Generate little-endian code. | |
52 | |
53 EL | |
54 Target RejectNegative Report Alias(mlittle-endian) Undocumented | |
55 | |
56 ;; Floating point options. These affect code generation but not | |
57 ;; assembly. | |
58 | |
59 mhard-float | |
60 Target Report RejectNegative Mask(HARD_FLOAT) | |
61 Enable hardware floating-point instructions. | |
62 | |
63 msoft-float | |
64 Target Report RejectNegative InverseMask(HARD_FLOAT) | |
65 Use library calls to perform floating-point operations (default). | |
66 | |
67 mfpu= | |
68 Target RejectNegative Joined Enum(csky_fpu) Var(csky_fpu_index) Init(TARGET_FPU_auto) Save | |
69 Specify the target floating-point hardware/format. | |
70 | |
71 mdouble-float | |
72 Target Report Var(TARGET_DOUBLE_FLOAT) Init(-1) | |
73 Generate C-SKY FPU double float instructions (default for hard float). | |
74 | |
75 mfdivdu | |
76 Target Report Var(TARGET_FDIVDU) Init(-1) | |
77 Generate frecipd/fsqrtd/fdivd instructions (default for hard float). | |
78 | |
79 ;; Instruction set extensions. Most of these don't affect code | |
80 ;; generation, and are passed through to the assembler. | |
81 ;; There are builtin preprocessor defines for each of these. | |
82 | |
83 melrw | |
84 Target Report Var(TARGET_ELRW) Init(-1) | |
85 Enable the extended LRW instruction (default for CK801). | |
86 | |
87 mistack | |
88 Target Report Mask(ISTACK) | |
89 Enable interrupt stack instructions. | |
90 | |
91 mmp | |
92 Target Report RejectNegative Mask(MP) | |
93 Enable multiprocessor instructions. | |
94 | |
95 mcp | |
96 Target Report RejectNegative Mask(CP) | |
97 Enable coprocessor instructions. | |
98 | |
99 mcache | |
100 Target Report RejectNegative Mask(CACHE) | |
101 Enable cache prefetch instructions. | |
102 | |
103 msecurity | |
104 Target Report RejectNegative Mask(SECURITY) | |
105 Enable C-SKY SECURE instructions. | |
106 | |
107 mmac | |
108 Target Report RejectNegative Alias(msecurity) Undocumented | |
109 | |
110 mtrust | |
111 Target Report RejectNegative Mask(TRUST) | |
112 Enable C-SKY TRUST instructions. | |
113 | |
114 mdsp | |
115 Target Report RejectNegative Var(TARGET_DSP) | |
116 Enable C-SKY DSP instructions. | |
117 | |
118 medsp | |
119 Target Report RejectNegative Mask(EDSP) | |
120 Enable C-SKY Enhanced DSP instructions. | |
121 | |
122 mvdsp | |
123 Target Report RejectNegative Mask(VDSP) | |
124 Enable C-SKY Vector DSP instructions. | |
125 | |
126 ;; Code generation options not passed to the assembler. | |
127 | |
128 mdiv | |
129 Target Report Var(TARGET_DIV) Init(-1) | |
130 Generate divide instructions. | |
131 | |
132 msmart | |
133 Target Report Var(TARGET_MINI_REGISTERS) Init(-1) | |
134 Generate code for Smart Mode. | |
135 | |
136 mhigh-registers | |
137 Target Report Var(TARGET_HIGH_REGISTERS) Init(-1) | |
138 Enable use of R16-R31 (default). | |
139 | |
140 manchor | |
141 Target Report Var(TARGET_ANCHOR) | |
142 Generate code using global anchor symbol addresses. | |
143 | |
144 mpushpop | |
145 Target Report Var(TARGET_PUSHPOP) Init(1) | |
146 Generate push/pop instructions (default). | |
147 | |
148 mmultiple-stld | |
149 Target Report Var(TARGET_MULTIPLE_STLD) Init(-1) | |
150 Generate stm/ldm instructions (default). | |
151 | |
152 mstm | |
153 Target Report Alias(mmultiple-stld) Undocumented | |
154 | |
155 mconstpool | |
156 Target Report Var(TARGET_CONSTANT_POOL) Init(-1) | |
157 Generate constant pools in the compiler instead of assembler. | |
158 | |
159 mstack-size | |
160 Target Report Var(TARGET_STACK_SIZE) Init(0) | |
161 Emit .stack_size directives. | |
162 | |
163 mccrt | |
164 Target Report Var(TARGET_LIBCCRT) Init(0) | |
165 Generate code for C-SKY compiler runtime instead of libgcc. | |
166 | |
167 mbranch-cost= | |
168 Target Report Joined RejectNegative UInteger Var(csky_branch_cost) Init(1) | |
169 Set the branch costs to roughly the specified number of instructions. | |
170 | |
171 msched-prolog | |
172 Target Report Var(flag_sched_prolog) Init(0) | |
173 Permit scheduling of function prologue and epilogue sequences. |