]>
Commit | Line | Data |
---|---|---|
66617831 RS |
1 | ; Options for the HP PA-RISC port of the compiler. |
2 | ||
a945c346 | 3 | ; Copyright (C) 2005-2024 Free Software Foundation, Inc. |
66617831 RS |
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 | |
2f83c7d6 | 9 | ; Software Foundation; either version 3, or (at your option) any later |
66617831 RS |
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 | |
2f83c7d6 NC |
18 | ; along with GCC; see the file COPYING3. If not see |
19 | ; <http://www.gnu.org/licenses/>. | |
66617831 | 20 | |
1bb721dc JM |
21 | HeaderInclude |
22 | config/pa/pa-opts.h | |
23 | ||
24 | ; Which cpu we are scheduling for. | |
25 | Variable | |
26 | enum processor_type pa_cpu = TARGET_SCHED_DEFAULT | |
27 | ||
66617831 RS |
28 | march=1.0 |
29 | Target RejectNegative | |
a7b2e184 | 30 | Generate PA1.0 code. |
66617831 RS |
31 | |
32 | march=1.1 | |
33 | Target RejectNegative | |
a7b2e184 | 34 | Generate PA1.1 code. |
66617831 RS |
35 | |
36 | march=2.0 | |
37 | Target RejectNegative | |
a7b2e184 | 38 | Generate PA2.0 code (requires binutils 2.10 or later). |
66617831 | 39 | |
cf467fb9 JDA |
40 | matomic-libcalls |
41 | Target Var(TARGET_ATOMIC_LIBCALLS) Init(1) | |
42 | Generate libcalls for atomic loads and stores when sync libcalls are disabled. | |
43 | ||
66617831 | 44 | mbig-switch |
33e67557 SB |
45 | Target Ignore |
46 | Does nothing. Preserved for backward compatibility. | |
66617831 | 47 | |
84c9e5ff | 48 | mcaller-copies |
eece52b5 | 49 | Target Mask(CALLER_COPIES) |
84c9e5ff JDA |
50 | Caller copies function arguments passed by hidden reference. |
51 | ||
6a9c4224 | 52 | mcoherent-ldcw |
0f184b41 | 53 | Target Var(TARGET_COHERENT_LDCW) Init(0) |
6a9c4224 JDA |
54 | Use ldcw/ldcd coherent cache-control hint. |
55 | ||
66617831 | 56 | mdisable-fpregs |
3f861a5c JDA |
57 | Target Mask(SOFT_FLOAT) |
58 | Disable FP regs. Equivalent to -msoft-float. | |
66617831 RS |
59 | |
60 | mdisable-indexing | |
eece52b5 | 61 | Target Mask(DISABLE_INDEXING) |
a7b2e184 | 62 | Disable indexed addressing. |
66617831 RS |
63 | |
64 | mfast-indirect-calls | |
eece52b5 | 65 | Target Mask(FAST_INDIRECT_CALLS) |
a7b2e184 | 66 | Generate fast indirect calls. |
66617831 RS |
67 | |
68 | mfixed-range= | |
1bb721dc | 69 | Target RejectNegative Joined Var(pa_deferred_options) Defer |
a7b2e184 | 70 | Specify range of registers to make fixed. |
66617831 RS |
71 | |
72 | mgas | |
eece52b5 | 73 | Target Mask(GAS) |
a7b2e184 | 74 | Assume code will be assembled by GAS. |
66617831 RS |
75 | |
76 | mjump-in-delay | |
f4000c0b JDA |
77 | Target Ignore |
78 | Does nothing. Preserved for backward compatibility. | |
66617831 RS |
79 | |
80 | ;; Not used by gcc | |
81 | mlinker-opt | |
82 | Target RejectNegative | |
a7b2e184 | 83 | Enable linker optimizations. |
66617831 RS |
84 | |
85 | mlong-calls | |
eece52b5 | 86 | Target Mask(LONG_CALLS) |
a7b2e184 | 87 | Always generate long calls. |
66617831 RS |
88 | |
89 | mlong-load-store | |
eece52b5 | 90 | Target Mask(LONG_LOAD_STORE) |
a7b2e184 | 91 | Emit long load/store sequences. |
66617831 RS |
92 | |
93 | mnosnake | |
94 | Target RejectNegative | |
a7b2e184 | 95 | Generate PA1.0 code. |
66617831 RS |
96 | |
97 | mno-space-regs | |
eece52b5 | 98 | Target RejectNegative Mask(NO_SPACE_REGS) |
a7b2e184 | 99 | Disable space regs. |
66617831 | 100 | |
6a9c4224 | 101 | mordered |
eece52b5 | 102 | Target Var(TARGET_ORDERED) Init(0) |
6a9c4224 JDA |
103 | Assume memory references are ordered and barriers are not needed. |
104 | ||
66617831 RS |
105 | mpa-risc-1-0 |
106 | Target RejectNegative | |
a7b2e184 | 107 | Generate PA1.0 code. |
66617831 RS |
108 | |
109 | mpa-risc-1-1 | |
110 | Target RejectNegative Mask(PA_11) | |
a7b2e184 | 111 | Generate PA1.1 code. |
66617831 RS |
112 | |
113 | mpa-risc-2-0 | |
114 | Target RejectNegative Mask(PA_20) | |
a7b2e184 | 115 | Generate PA2.0 code (requires binutils 2.10 or later). |
66617831 RS |
116 | |
117 | mportable-runtime | |
eece52b5 | 118 | Target Mask(PORTABLE_RUNTIME) |
a7b2e184 | 119 | Use portable calling conventions. |
66617831 RS |
120 | |
121 | mschedule= | |
1bb721dc | 122 | Target RejectNegative Joined Enum(pa_schedule) Var(pa_cpu) |
a7b2e184 | 123 | Specify CPU for scheduling purposes. Valid arguments are 700, 7100, 7100LC, 7200, 7300, and 8000. |
66617831 | 124 | |
1bb721dc JM |
125 | Enum |
126 | Name(pa_schedule) Type(enum processor_type) | |
127 | ||
128 | EnumValue | |
129 | Enum(pa_schedule) String(8000) Value(PROCESSOR_8000) | |
130 | ||
131 | EnumValue | |
132 | Enum(pa_schedule) String(7100) Value(PROCESSOR_7100) | |
133 | ||
134 | EnumValue | |
135 | Enum(pa_schedule) String(700) Value(PROCESSOR_700) | |
136 | ||
137 | EnumValue | |
138 | Enum(pa_schedule) String(7100LC) Value(PROCESSOR_7100LC) | |
139 | ||
140 | EnumValue | |
141 | Enum(pa_schedule) String(7200) Value(PROCESSOR_7200) | |
142 | ||
143 | EnumValue | |
144 | Enum(pa_schedule) String(7300) Value(PROCESSOR_7300) | |
145 | ||
66617831 | 146 | msoft-float |
eece52b5 | 147 | Target Mask(SOFT_FLOAT) |
a7b2e184 | 148 | Use software floating point. |
66617831 | 149 | |
3f861a5c JDA |
150 | msoft-mult |
151 | Target Mask(SOFT_MULT) | |
152 | Use software integer multiplication. | |
153 | ||
66617831 RS |
154 | msnake |
155 | Target RejectNegative | |
a7b2e184 | 156 | Generate PA1.1 code. |
66617831 RS |
157 | |
158 | mspace-regs | |
eece52b5 | 159 | Target RejectNegative InverseMask(NO_SPACE_REGS) |
a7b2e184 | 160 | Do not disable space regs. |