summaryrefslogtreecommitdiff
path: root/gcc/config/iq2000/iq2000.opt
blob: 288ff5fe75af44a335c1d9458648990723279108 (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
; Options for the Vitesse IQ2000 port of the compiler.

; Copyright (C) 2005-2014 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/iq2000/iq2000-opts.h

; The target cpu for optimization and scheduling.
Variable
enum processor_type iq2000_tune = PROCESSOR_DEFAULT

; This option has no effect at the moment.
march=
Target RejectNegative Joined Enum(iq2000_arch)
Specify CPU for code generation purposes

Enum
Name(iq2000_arch) Type(int)

EnumValue
Enum(iq2000_arch) String(default) Value(0)

EnumValue
Enum(iq2000_arch) String(DEFAULT) Value(0)

EnumValue
Enum(iq2000_arch) String(iq2000) Value(0)

mcpu=
Target RejectNegative Joined Enum(iq2000_tune) Var(iq2000_tune)
Specify CPU for scheduling purposes

Enum
Name(iq2000_tune) Type(enum processor_type)
Known IQ2000 CPUs (for use with the -mcpu= option):

EnumValue
Enum(iq2000_tune) String(iq10) Value(PROCESSOR_IQ10)

EnumValue
Enum(iq2000_tune) String(iq2000) Value(PROCESSOR_IQ2000)

membedded-data
Target Mask(EMBEDDED_DATA)
Use ROM instead of RAM

mgpopt
Target Mask(GPOPT)
Use GP relative sdata/sbss sections

; Not used by the compiler proper.
mno-crt0
Target RejectNegative
No default crt0.o

muninit-const-in-rodata
Target Mask(UNINIT_CONST_IN_RODATA)
Put uninitialized constants in ROM (needs -membedded-data)