]>
Commit | Line | Data |
---|---|---|
85d9c13c | 1 | ; Options for the SPU port of the compiler |
818ab71a | 2 | ; Copyright (C) 2006-2016 Free Software Foundation, Inc. |
85d9c13c TS |
3 | |
4 | ; This file is free software; you can redistribute it and/or modify it under | |
5 | ; the terms of the GNU General Public License as published by the Free | |
2f83c7d6 | 6 | ; Software Foundation; either version 3 of the License, or (at your option) |
85d9c13c TS |
7 | ; any later version. |
8 | ||
9 | ; This file is distributed in the hope that it will be useful, but WITHOUT | |
10 | ; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
11 | ; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
12 | ; for more details. | |
13 | ; | |
14 | ; You should have received a copy of the GNU General Public License | |
2f83c7d6 NC |
15 | ; along with GCC; see the file COPYING3. If not see |
16 | ; <http://www.gnu.org/licenses/>. | |
85d9c13c TS |
17 | |
18 | mwarn-reloc | |
19 | Target Report Mask(WARN_RELOC) | |
a7b2e184 | 20 | Emit warnings when run-time relocations are generated. |
85d9c13c TS |
21 | |
22 | merror-reloc | |
23 | Target Report Mask(ERROR_RELOC) | |
a7b2e184 | 24 | Emit errors when run-time relocations are generated. |
85d9c13c TS |
25 | |
26 | mbranch-cost= | |
27 | Target RejectNegative Joined UInteger Var(spu_branch_cost) Init(20) | |
a7b2e184 | 28 | Specify cost of branches (Default 20). |
85d9c13c TS |
29 | |
30 | msafe-dma | |
31 | Target Report RejectNegative Mask(SAFE_DMA) | |
a7b2e184 | 32 | Make sure loads and stores are not moved past DMA instructions. |
85d9c13c TS |
33 | |
34 | munsafe-dma | |
35 | Target Report RejectNegative InverseMask(SAFE_DMA) | |
a7b2e184 | 36 | volatile must be specified on any memory that is effected by DMA. |
85d9c13c | 37 | |
9dcc2e87 TS |
38 | mdual-nops |
39 | Target Report Var(spu_dual_nops,10) Init(10) | |
a7b2e184 | 40 | Insert nops when it might improve performance by allowing dual issue (default). |
9dcc2e87 TS |
41 | |
42 | mdual-nops= | |
43 | Target RejectNegative Joined UInteger Var(spu_dual_nops) | |
a7b2e184 | 44 | Insert nops when it might improve performance by allowing dual issue (default). |
9dcc2e87 | 45 | |
cc8d70cd SL |
46 | mstdmain |
47 | Target Report Mask(STD_MAIN) | |
a7b2e184 | 48 | Use standard main function as entry for startup. |
cc8d70cd | 49 | |
85d9c13c TS |
50 | mbranch-hints |
51 | Target Report Mask(BRANCH_HINTS) | |
a7b2e184 | 52 | Generate branch hints for branches. |
85d9c13c | 53 | |
9dcc2e87 TS |
54 | mhint-max-nops= |
55 | Target RejectNegative Joined UInteger Var(spu_max_nops) Init(2) | |
a7b2e184 | 56 | Maximum number of nops to insert for a hint (Default 2). |
9dcc2e87 TS |
57 | |
58 | mhint-max-distance= | |
59 | Target RejectNegative Joined Var(spu_max_distance_str) | |
a7b2e184 | 60 | Approximate maximum number of instructions to allow between a hint and its branch [125]. |
9dcc2e87 | 61 | |
85d9c13c TS |
62 | msmall-mem |
63 | Target Report RejectNegative InverseMask(LARGE_MEM) | |
a7b2e184 | 64 | Generate code for 18 bit addressing. |
85d9c13c TS |
65 | |
66 | mlarge-mem | |
67 | Target Report RejectNegative Mask(LARGE_MEM) | |
a7b2e184 | 68 | Generate code for 32 bit addressing. |
85d9c13c | 69 | |
32fb22af SL |
70 | mfixed-range= |
71 | Target RejectNegative Joined Var(spu_fixed_range_string) | |
a7b2e184 | 72 | Specify range of registers to make fixed. |
39aeae85 | 73 | |
9dcc2e87 TS |
74 | msafe-hints |
75 | Target Report Mask(SAFE_HINTS) | |
a7b2e184 | 76 | Insert hbrp instructions after hinted branch targets to avoid the SPU hang issue. |
9dcc2e87 | 77 | |
39aeae85 SL |
78 | march= |
79 | Target RejectNegative Joined Var(spu_arch_string) | |
a7b2e184 | 80 | Generate code for given CPU. |
39aeae85 SL |
81 | |
82 | mtune= | |
83 | Target RejectNegative Joined Var(spu_tune_string) | |
a7b2e184 | 84 | Schedule code for given CPU. |
299456f3 BE |
85 | |
86 | mea32 | |
87 | Target Report RejectNegative Var(spu_ea_model,32) Init(32) | |
a7b2e184 | 88 | Access variables in 32-bit PPU objects (default). |
299456f3 BE |
89 | |
90 | mea64 | |
f0036cca | 91 | Target Report RejectNegative Var(spu_ea_model,64) |
a7b2e184 | 92 | Access variables in 64-bit PPU objects. |
299456f3 BE |
93 | |
94 | maddress-space-conversion | |
95 | Target Report Mask(ADDRESS_SPACE_CONVERSION) | |
a7b2e184 | 96 | Allow conversions between __ea and generic pointers (default). |
299456f3 BE |
97 | |
98 | mcache-size= | |
99 | Target Report RejectNegative Joined UInteger | |
a7b2e184 | 100 | Size (in KB) of software data cache. |
299456f3 BE |
101 | |
102 | matomic-updates | |
103 | Target Report | |
a7b2e184 | 104 | Atomically write back software data cache lines (default). |
299456f3 | 105 |