1 ; Options for the Blackfin port of the compiler
3 ; Copyright (C) 2005-2017 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
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/>.
22 config/bfin/bfin-opts.h
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.
34 ; The workarounds enabled.
36 unsigned int bfin_workarounds = 0
40 Use simulator runtime.
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.
51 Target Report Mask(LOW_64K)
52 Program is entirely located in low 64k of memory.
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.
60 Target Report Var(bfin_specld_anomaly) Init(-1)
61 Avoid speculative loads to work around a hardware anomaly.
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.
73 Target RejectNegative Joined UInteger Var(bfin_library_id)
74 ID of shared library to build.
77 Target Report Mask(SEP_DATA)
78 Enable separate data segment.
81 Target Report Mask(LONG_CALLS)
82 Avoid generating pc-relative calls; use indirection.
85 Target Report Mask(FAST_FP)
86 Link with the fast floating-point library.
89 Target Report Mask(FDPIC)
90 Enable Function Descriptor PIC mode.
93 Target Report Mask(INLINE_PLT)
94 Enable inlining of PLT in function calls.
97 Target Report Mask(STACK_CHECK_L1)
98 Do stack checking using bounds in L1 scratch memory.
101 Target Report Mask(MULTICORE)
102 Enable multicore support.
105 Target Report Mask(COREA)
109 Target Report Mask(COREB)
113 Target Report Mask(SDRAM)
117 Target Report Mask(ICPLB)
118 Assume ICPLBs are enabled at runtime.