pa.c (pa_callee_copies): New function.
[official-gcc.git] / gcc / config / pa / pa.opt
blobc15353de353bffe17e3449b210459f88e4293e33
1 ; Options for the HP PA-RISC port of the compiler.
3 ; Copyright (C) 2005-2016 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
10 ; version.
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.
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/>.
21 HeaderInclude
22 config/pa/pa-opts.h
24 ; Which cpu we are scheduling for.
25 Variable
26 enum processor_type pa_cpu = TARGET_SCHED_DEFAULT
28 march=1.0
29 Target RejectNegative
30 Generate PA1.0 code.
32 march=1.1
33 Target RejectNegative
34 Generate PA1.1 code.
36 march=2.0
37 Target RejectNegative
38 Generate PA2.0 code (requires binutils 2.10 or later).
40 mbig-switch
41 Target Ignore
42 Does nothing.  Preserved for backward compatibility.
44 mcaller-copies
45 Target Report Mask(CALLER_COPIES)
46 Caller copies function arguments passed by hidden reference.
48 mdisable-fpregs
49 Target Report Mask(DISABLE_FPREGS)
50 Disable FP regs.
52 mdisable-indexing
53 Target Report Mask(DISABLE_INDEXING)
54 Disable indexed addressing.
56 mfast-indirect-calls
57 Target Report Mask(FAST_INDIRECT_CALLS)
58 Generate fast indirect calls.
60 mfixed-range=
61 Target RejectNegative Joined Var(pa_deferred_options) Defer
62 Specify range of registers to make fixed.
64 mgas
65 Target Report Mask(GAS)
66 Assume code will be assembled by GAS.
68 mjump-in-delay
69 Target Ignore
70 Does nothing.  Preserved for backward compatibility.
72 ;; Not used by gcc
73 mlinker-opt
74 Target RejectNegative
75 Enable linker optimizations.
77 mlong-calls
78 Target Report Mask(LONG_CALLS)
79 Always generate long calls.
81 mlong-load-store
82 Target Report Mask(LONG_LOAD_STORE)
83 Emit long load/store sequences.
85 mnosnake
86 Target RejectNegative
87 Generate PA1.0 code.
89 mno-space-regs
90 Target RejectNegative Report Mask(NO_SPACE_REGS)
91 Disable space regs.
93 mpa-risc-1-0
94 Target RejectNegative
95 Generate PA1.0 code.
97 mpa-risc-1-1
98 Target RejectNegative Mask(PA_11)
99 Generate PA1.1 code.
101 mpa-risc-2-0
102 Target RejectNegative Mask(PA_20)
103 Generate PA2.0 code (requires binutils 2.10 or later).
105 mportable-runtime
106 Target Report Mask(PORTABLE_RUNTIME)
107 Use portable calling conventions.
109 mschedule=
110 Target RejectNegative Joined Enum(pa_schedule) Var(pa_cpu)
111 Specify CPU for scheduling purposes.  Valid arguments are 700, 7100, 7100LC, 7200, 7300, and 8000.
113 Enum
114 Name(pa_schedule) Type(enum processor_type)
116 EnumValue
117 Enum(pa_schedule) String(8000) Value(PROCESSOR_8000)
119 EnumValue
120 Enum(pa_schedule) String(7100) Value(PROCESSOR_7100)
122 EnumValue
123 Enum(pa_schedule) String(700) Value(PROCESSOR_700)
125 EnumValue
126 Enum(pa_schedule) String(7100LC) Value(PROCESSOR_7100LC)
128 EnumValue
129 Enum(pa_schedule) String(7200) Value(PROCESSOR_7200)
131 EnumValue
132 Enum(pa_schedule) String(7300) Value(PROCESSOR_7300)
134 msoft-float
135 Target Report Mask(SOFT_FLOAT)
136 Use software floating point.
138 msnake
139 Target RejectNegative
140 Generate PA1.1 code.
142 mspace-regs
143 Target RejectNegative Report InverseMask(NO_SPACE_REGS)
144 Do not disable space regs.