2014-03-25 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / config / bfin / bfin.opt
blobb736d91f864c805f4e1976ecec1ebf729602e456
1 ; Options for the Blackfin port of the compiler
3 ; Copyright (C) 2005-2014 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
13 ; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
14 ; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
15 ; License 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 HeaderInclude
22 config/bfin/bfin-opts.h
24 ; Value of -mcpu=.
25 Variable
26 bfin_cpu_t bfin_cpu_type = BFIN_CPU_UNKNOWN
28 ; -msi-revision support. There are three special values:
29 ; -1      -msi-revision=none.
30 ; 0xffff  -msi-revision=any.
31 Variable
32 int bfin_si_revision
34 ; The workarounds enabled.
35 Variable
36 unsigned int bfin_workarounds = 0
38 msim
39 Target RejectNegative
40 Use simulator runtime
42 mcpu=
43 Target RejectNegative Joined
44 Specify the name of the target CPU
46 momit-leaf-frame-pointer
47 Target Report Mask(OMIT_LEAF_FRAME_POINTER)
48 Omit frame pointer for leaf functions
50 mlow64k
51 Target Report Mask(LOW_64K)
52 Program is entirely located in low 64k of memory
54 mcsync-anomaly
55 Target Report Var(bfin_csync_anomaly) Init(-1)
56 Work around a hardware anomaly by adding a number of NOPs before a
57 CSYNC or SSYNC instruction.
59 mspecld-anomaly
60 Target Report Var(bfin_specld_anomaly) Init(-1)
61 Avoid speculative loads to work around a hardware anomaly.
63 mid-shared-library
64 Target Report Mask(ID_SHARED_LIBRARY)
65 Enabled ID based shared library
67 mleaf-id-shared-library
68 Target Report Mask(LEAF_ID_SHARED_LIBRARY)
69 Generate code that won't be linked against any other ID shared libraries,
70 but may be used as a shared library.
72 mshared-library-id=
73 Target RejectNegative Joined UInteger Var(bfin_library_id)
74 ID of shared library to build
76 msep-data
77 Target Report Mask(SEP_DATA)
78 Enable separate data segment
80 mlong-calls
81 Target Report Mask(LONG_CALLS)
82 Avoid generating pc-relative calls; use indirection
84 mfast-fp
85 Target Report Mask(FAST_FP)
86 Link with the fast floating-point library
88 mfdpic
89 Target Report Mask(FDPIC)
90 Enable Function Descriptor PIC mode
92 minline-plt
93 Target Report Mask(INLINE_PLT)
94 Enable inlining of PLT in function calls
96 mstack-check-l1
97 Target Report Mask(STACK_CHECK_L1)
98 Do stack checking using bounds in L1 scratch memory
100 mmulticore
101 Target Report Mask(MULTICORE)
102 Enable multicore support
104 mcorea
105 Target Report Mask(COREA)
106 Build for Core A
108 mcoreb
109 Target Report Mask(COREB)
110 Build for Core B
112 msdram
113 Target Report Mask(SDRAM)
114 Build for SDRAM
116 micplb
117 Target Report Mask(ICPLB)
118 Assume ICPLBs are enabled at runtime.