Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/spu/spu.opt @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | f6334be47118 |
children | 84e7813d76e9 |
rev | line source |
---|---|
0 | 1 ; Options for the SPU port of the compiler |
111 | 2 ; Copyright (C) 2006-2017 Free Software Foundation, Inc. |
0 | 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 | |
6 ; Software Foundation; either version 3 of the License, or (at your option) | |
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 | |
15 ; along with GCC; see the file COPYING3. If not see | |
16 ; <http://www.gnu.org/licenses/>. | |
17 | |
18 mwarn-reloc | |
19 Target Report Mask(WARN_RELOC) | |
111 | 20 Emit warnings when run-time relocations are generated. |
0 | 21 |
22 merror-reloc | |
23 Target Report Mask(ERROR_RELOC) | |
111 | 24 Emit errors when run-time relocations are generated. |
0 | 25 |
26 mbranch-cost= | |
27 Target RejectNegative Joined UInteger Var(spu_branch_cost) Init(20) | |
111 | 28 Specify cost of branches (Default 20). |
0 | 29 |
30 msafe-dma | |
31 Target Report RejectNegative Mask(SAFE_DMA) | |
111 | 32 Make sure loads and stores are not moved past DMA instructions. |
0 | 33 |
34 munsafe-dma | |
35 Target Report RejectNegative InverseMask(SAFE_DMA) | |
111 | 36 volatile must be specified on any memory that is effected by DMA. |
0 | 37 |
38 mdual-nops | |
39 Target Report Var(spu_dual_nops,10) Init(10) | |
111 | 40 Insert nops when it might improve performance by allowing dual issue (default). |
0 | 41 |
42 mdual-nops= | |
43 Target RejectNegative Joined UInteger Var(spu_dual_nops) | |
111 | 44 Insert nops when it might improve performance by allowing dual issue (default). |
0 | 45 |
46 mstdmain | |
47 Target Report Mask(STD_MAIN) | |
111 | 48 Use standard main function as entry for startup. |
0 | 49 |
50 mbranch-hints | |
51 Target Report Mask(BRANCH_HINTS) | |
111 | 52 Generate branch hints for branches. |
0 | 53 |
54 mhint-max-nops= | |
55 Target RejectNegative Joined UInteger Var(spu_max_nops) Init(2) | |
111 | 56 Maximum number of nops to insert for a hint (Default 2). |
0 | 57 |
58 mhint-max-distance= | |
59 Target RejectNegative Joined Var(spu_max_distance_str) | |
111 | 60 Approximate maximum number of instructions to allow between a hint and its branch [125]. |
0 | 61 |
62 msmall-mem | |
63 Target Report RejectNegative InverseMask(LARGE_MEM) | |
111 | 64 Generate code for 18 bit addressing. |
0 | 65 |
66 mlarge-mem | |
67 Target Report RejectNegative Mask(LARGE_MEM) | |
111 | 68 Generate code for 32 bit addressing. |
0 | 69 |
70 mfixed-range= | |
71 Target RejectNegative Joined Var(spu_fixed_range_string) | |
111 | 72 Specify range of registers to make fixed. |
0 | 73 |
74 msafe-hints | |
75 Target Report Mask(SAFE_HINTS) | |
111 | 76 Insert hbrp instructions after hinted branch targets to avoid the SPU hang issue. |
0 | 77 |
78 march= | |
79 Target RejectNegative Joined Var(spu_arch_string) | |
111 | 80 Generate code for given CPU. |
0 | 81 |
82 mtune= | |
83 Target RejectNegative Joined Var(spu_tune_string) | |
111 | 84 Schedule code for given CPU. |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
85 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
86 mea32 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
87 Target Report RejectNegative Var(spu_ea_model,32) Init(32) |
111 | 88 Access variables in 32-bit PPU objects (default). |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
89 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
90 mea64 |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
55
diff
changeset
|
91 Target Report RejectNegative Var(spu_ea_model,64) |
111 | 92 Access variables in 64-bit PPU objects. |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
93 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
94 maddress-space-conversion |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
95 Target Report Mask(ADDRESS_SPACE_CONVERSION) |
111 | 96 Allow conversions between __ea and generic pointers (default). |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
97 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
98 mcache-size= |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
99 Target Report RejectNegative Joined UInteger |
111 | 100 Size (in KB) of software data cache. |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
101 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
102 matomic-updates |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
103 Target Report |
111 | 104 Atomically write back software data cache lines (default). |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
105 |