summaryrefslogtreecommitdiff
path: root/gcc/config/bfin/bfin.opt
blob: afda508c22e8b21db05070980232bf3faba03f5a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
; Options for the Blackfin port of the compiler
;
; Copyright (C) 2005-2020 Free Software Foundation, Inc.
;
; This file is part of GCC.
;
; GCC is free software; you can redistribute it and/or modify it under
; the terms of the GNU General Public License as published by the Free
; Software Foundation; either version 3, or (at your option) any later
; version.
;
; GCC is distributed in the hope that it will be useful, but WITHOUT
; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
; or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public
; License for more details.
;
; You should have received a copy of the GNU General Public License
; along with GCC; see the file COPYING3.  If not see
; <http://www.gnu.org/licenses/>.

HeaderInclude
config/bfin/bfin-opts.h

; Value of -mcpu=.
Variable
bfin_cpu_t bfin_cpu_type = BFIN_CPU_UNKNOWN

; -msi-revision support. There are three special values:
; -1      -msi-revision=none.
; 0xffff  -msi-revision=any.
Variable
int bfin_si_revision

; The workarounds enabled.
Variable
unsigned int bfin_workarounds = 0

msim
Target RejectNegative
Use simulator runtime.

mcpu=
Target RejectNegative Joined
Specify the name of the target CPU.

momit-leaf-frame-pointer
Target Report Mask(OMIT_LEAF_FRAME_POINTER)
Omit frame pointer for leaf functions.

mlow64k
Target Report Mask(LOW_64K)
Program is entirely located in low 64k of memory.

mcsync-anomaly
Target Report Var(bfin_csync_anomaly) Init(-1)
Work around a hardware anomaly by adding a number of NOPs before a
CSYNC or SSYNC instruction.

mspecld-anomaly
Target Report Var(bfin_specld_anomaly) Init(-1)
Avoid speculative loads to work around a hardware anomaly.

mid-shared-library
Target Report Mask(ID_SHARED_LIBRARY)
Enabled ID based shared library.

mleaf-id-shared-library
Target Report Mask(LEAF_ID_SHARED_LIBRARY)
Generate code that won't be linked against any other ID shared libraries,
but may be used as a shared library.

mshared-library-id=
Target RejectNegative Joined UInteger Var(bfin_library_id)
ID of shared library to build.

msep-data
Target Report Mask(SEP_DATA)
Enable separate data segment.

mlong-calls
Target Report Mask(LONG_CALLS)
Avoid generating pc-relative calls; use indirection.

mfast-fp
Target Report Mask(FAST_FP)
Link with the fast floating-point library.

mfdpic
Target Report Mask(FDPIC)
Enable Function Descriptor PIC mode.

minline-plt
Target Report Mask(INLINE_PLT)
Enable inlining of PLT in function calls.

mstack-check-l1
Target Report Mask(STACK_CHECK_L1)
Do stack checking using bounds in L1 scratch memory.

mmulticore
Target Report Mask(MULTICORE)
Enable multicore support.

mcorea
Target Report Mask(COREA)
Build for Core A.

mcoreb
Target Report Mask(COREB)
Build for Core B.

msdram
Target Report Mask(SDRAM)
Build for SDRAM.

micplb
Target Report Mask(ICPLB)
Assume ICPLBs are enabled at runtime.