1; Options for the HP PA-RISC port of the compiler.
2
3; Copyright (C) 2005-2022 Free Software Foundation, Inc.
4;
5; This file is part of GCC.
6;
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.
11;
12; GCC is distributed in the hope that it will be useful, but WITHOUT ANY
13; WARRANTY; without even the implied warranty of MERCHANTABILITY or
14; FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
15; for more details.
16;
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/>.
20
21HeaderInclude
22config/pa/pa-opts.h
23
24; Which cpu we are scheduling for.
25Variable
26enum processor_type pa_cpu = TARGET_SCHED_DEFAULT
27
28march=1.0
29Target RejectNegative
30Generate PA1.0 code.
31
32march=1.1
33Target RejectNegative
34Generate PA1.1 code.
35
36march=2.0
37Target RejectNegative
38Generate PA2.0 code (requires binutils 2.10 or later).
39
40mbig-switch
41Target Ignore
42Does nothing.  Preserved for backward compatibility.
43
44mcaller-copies
45Target Mask(CALLER_COPIES)
46Caller copies function arguments passed by hidden reference.
47
48mcoherent-ldcw
49Target Var(TARGET_COHERENT_LDCW) Init(1)
50Use ldcw/ldcd coherent cache-control hint.
51
52mdisable-fpregs
53Target Mask(SOFT_FLOAT)
54Disable FP regs.  Equivalent to -msoft-float.
55
56mdisable-indexing
57Target Mask(DISABLE_INDEXING)
58Disable indexed addressing.
59
60mfast-indirect-calls
61Target Mask(FAST_INDIRECT_CALLS)
62Generate fast indirect calls.
63
64mfixed-range=
65Target RejectNegative Joined Var(pa_deferred_options) Defer
66Specify range of registers to make fixed.
67
68mgas
69Target Mask(GAS)
70Assume code will be assembled by GAS.
71
72mjump-in-delay
73Target Ignore
74Does nothing.  Preserved for backward compatibility.
75
76;; Not used by gcc
77mlinker-opt
78Target RejectNegative
79Enable linker optimizations.
80
81mlong-calls
82Target Mask(LONG_CALLS)
83Always generate long calls.
84
85mlong-load-store
86Target Mask(LONG_LOAD_STORE)
87Emit long load/store sequences.
88
89mnosnake
90Target RejectNegative
91Generate PA1.0 code.
92
93mno-space-regs
94Target RejectNegative Mask(NO_SPACE_REGS)
95Disable space regs.
96
97mordered
98Target Var(TARGET_ORDERED) Init(0)
99Assume memory references are ordered and barriers are not needed.
100
101mpa-risc-1-0
102Target RejectNegative
103Generate PA1.0 code.
104
105mpa-risc-1-1
106Target RejectNegative Mask(PA_11)
107Generate PA1.1 code.
108
109mpa-risc-2-0
110Target RejectNegative Mask(PA_20)
111Generate PA2.0 code (requires binutils 2.10 or later).
112
113mportable-runtime
114Target Mask(PORTABLE_RUNTIME)
115Use portable calling conventions.
116
117mschedule=
118Target RejectNegative Joined Enum(pa_schedule) Var(pa_cpu)
119Specify CPU for scheduling purposes.  Valid arguments are 700, 7100, 7100LC, 7200, 7300, and 8000.
120
121Enum
122Name(pa_schedule) Type(enum processor_type)
123
124EnumValue
125Enum(pa_schedule) String(8000) Value(PROCESSOR_8000)
126
127EnumValue
128Enum(pa_schedule) String(7100) Value(PROCESSOR_7100)
129
130EnumValue
131Enum(pa_schedule) String(700) Value(PROCESSOR_700)
132
133EnumValue
134Enum(pa_schedule) String(7100LC) Value(PROCESSOR_7100LC)
135
136EnumValue
137Enum(pa_schedule) String(7200) Value(PROCESSOR_7200)
138
139EnumValue
140Enum(pa_schedule) String(7300) Value(PROCESSOR_7300)
141
142msoft-float
143Target Mask(SOFT_FLOAT)
144Use software floating point.
145
146msoft-mult
147Target Mask(SOFT_MULT)
148Use software integer multiplication.
149
150msnake
151Target RejectNegative
152Generate PA1.1 code.
153
154mspace-regs
155Target RejectNegative InverseMask(NO_SPACE_REGS)
156Do not disable space regs.
157