| 1 |
; Options for the HP PA-RISC port of the compiler. |
| 2 |
|
| 3 |
; Copyright (C) 2005-2025 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 |
|
| 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 |
|
| 28 |
march=1.0 |
| 29 |
Target RejectNegative |
| 30 |
Generate PA1.0 code. |
| 31 |
|
| 32 |
march=1.1 |
| 33 |
Target RejectNegative |
| 34 |
Generate PA1.1 code. |
| 35 |
|
| 36 |
march=2.0 |
| 37 |
Target RejectNegative |
| 38 |
Generate PA2.0 code (requires binutils 2.10 or later). |
| 39 |
|
| 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 |
|
| 44 |
mbig-switch |
| 45 |
Target Ignore |
| 46 |
Does nothing. Preserved for backward compatibility. |
| 47 |
|
| 48 |
mcaller-copies |
| 49 |
Target Mask(CALLER_COPIES) |
| 50 |
Caller copies function arguments passed by hidden reference. |
| 51 |
|
| 52 |
mcoherent-ldcw |
| 53 |
Target Var(TARGET_COHERENT_LDCW) Init(0) |
| 54 |
Use ldcw/ldcd coherent cache-control hint. |
| 55 |
|
| 56 |
mdisable-fpregs |
| 57 |
Target Mask(SOFT_FLOAT) |
| 58 |
Disable FP regs. Equivalent to -msoft-float. |
| 59 |
|
| 60 |
mdisable-indexing |
| 61 |
Target Mask(DISABLE_INDEXING) |
| 62 |
Disable indexed addressing. |
| 63 |
|
| 64 |
mfast-indirect-calls |
| 65 |
Target Mask(FAST_INDIRECT_CALLS) |
| 66 |
Generate fast indirect calls. |
| 67 |
|
| 68 |
mfixed-range= |
| 69 |
Target RejectNegative Joined Var(pa_deferred_options) Defer |
| 70 |
Specify range of registers to make fixed. |
| 71 |
|
| 72 |
mgas |
| 73 |
Target Mask(GAS) |
| 74 |
Assume code will be assembled by GAS. |
| 75 |
|
| 76 |
mjump-in-delay |
| 77 |
Target Ignore |
| 78 |
Does nothing. Preserved for backward compatibility. |
| 79 |
|
| 80 |
;; Not used by gcc |
| 81 |
mlinker-opt |
| 82 |
Target RejectNegative |
| 83 |
Enable linker optimizations. |
| 84 |
|
| 85 |
mlong-calls |
| 86 |
Target Mask(LONG_CALLS) |
| 87 |
Always generate long calls. |
| 88 |
|
| 89 |
mlra |
| 90 |
Target Var(pa_lra_p) Init(0) |
| 91 |
Use LRA instead of reload (transitional). |
| 92 |
|
| 93 |
mlong-load-store |
| 94 |
Target Mask(LONG_LOAD_STORE) |
| 95 |
Emit long load/store sequences. |
| 96 |
|
| 97 |
mnosnake |
| 98 |
Target RejectNegative |
| 99 |
Generate PA1.0 code. |
| 100 |
|
| 101 |
mno-space-regs |
| 102 |
Target RejectNegative Mask(NO_SPACE_REGS) |
| 103 |
Disable space regs. |
| 104 |
|
| 105 |
mordered |
| 106 |
Target Var(TARGET_ORDERED) Init(0) |
| 107 |
Assume memory references are ordered and barriers are not needed. |
| 108 |
|
| 109 |
mpa-risc-1-0 |
| 110 |
Target RejectNegative |
| 111 |
Generate PA1.0 code. |
| 112 |
|
| 113 |
mpa-risc-1-1 |
| 114 |
Target RejectNegative Mask(PA_11) |
| 115 |
Generate PA1.1 code. |
| 116 |
|
| 117 |
mpa-risc-2-0 |
| 118 |
Target RejectNegative Mask(PA_20) |
| 119 |
Generate PA2.0 code (requires binutils 2.10 or later). |
| 120 |
|
| 121 |
mportable-runtime |
| 122 |
Target Mask(PORTABLE_RUNTIME) |
| 123 |
Use portable calling conventions. |
| 124 |
|
| 125 |
mschedule= |
| 126 |
Target RejectNegative Joined Enum(pa_schedule) Var(pa_cpu) |
| 127 |
Specify CPU for scheduling purposes. Valid arguments are 700, 7100, 7100LC, 7200, 7300, and 8000. |
| 128 |
|
| 129 |
Enum |
| 130 |
Name(pa_schedule) Type(enum processor_type) |
| 131 |
|
| 132 |
EnumValue |
| 133 |
Enum(pa_schedule) String(8000) Value(PROCESSOR_8000) |
| 134 |
|
| 135 |
EnumValue |
| 136 |
Enum(pa_schedule) String(7100) Value(PROCESSOR_7100) |
| 137 |
|
| 138 |
EnumValue |
| 139 |
Enum(pa_schedule) String(700) Value(PROCESSOR_700) |
| 140 |
|
| 141 |
EnumValue |
| 142 |
Enum(pa_schedule) String(7100LC) Value(PROCESSOR_7100LC) |
| 143 |
|
| 144 |
EnumValue |
| 145 |
Enum(pa_schedule) String(7200) Value(PROCESSOR_7200) |
| 146 |
|
| 147 |
EnumValue |
| 148 |
Enum(pa_schedule) String(7300) Value(PROCESSOR_7300) |
| 149 |
|
| 150 |
msoft-float |
| 151 |
Target Mask(SOFT_FLOAT) |
| 152 |
Use software floating point. |
| 153 |
|
| 154 |
msoft-mult |
| 155 |
Target Mask(SOFT_MULT) |
| 156 |
Use software integer multiplication. |
| 157 |
|
| 158 |
msnake |
| 159 |
Target RejectNegative |
| 160 |
Generate PA1.1 code. |
| 161 |
|
| 162 |
mspace-regs |
| 163 |
Target RejectNegative InverseMask(NO_SPACE_REGS) |
| 164 |
Do not disable space regs. |