| 1 |
; Options for the NEC V850 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/v850/v850-opts.h |
| 23 |
|
| 24 |
Variable |
| 25 |
int small_memory_max[(int)SMALL_MEMORY_max] = { 0, 0, 0 } |
| 26 |
|
| 27 |
mapp-regs |
| 28 |
Target Mask(APP_REGS) |
| 29 |
Use registers r2 and r5. |
| 30 |
|
| 31 |
mbig-switch |
| 32 |
Target Mask(BIG_SWITCH) |
| 33 |
Use 4 byte entries in switch tables. |
| 34 |
|
| 35 |
mdebug |
| 36 |
Target Mask(DEBUG) |
| 37 |
Enable backend debugging. |
| 38 |
|
| 39 |
mdisable-callt |
| 40 |
Target Mask(DISABLE_CALLT) |
| 41 |
Do not use the callt instruction (default). |
| 42 |
|
| 43 |
mep |
| 44 |
Target Mask(EP) |
| 45 |
Reuse r30 on a per function basis. |
| 46 |
|
| 47 |
mghs |
| 48 |
Target RejectNegative InverseMask(GCC_ABI) MaskExists |
| 49 |
|
| 50 |
mlong-calls |
| 51 |
Target Mask(LONG_CALLS) |
| 52 |
Prohibit PC relative function calls. |
| 53 |
|
| 54 |
mprolog-function |
| 55 |
Target Mask(PROLOG_FUNCTION) |
| 56 |
Use stubs for function prologues. |
| 57 |
|
| 58 |
msda= |
| 59 |
Target RejectNegative Joined UInteger |
| 60 |
Set the max size of data eligible for the SDA area. |
| 61 |
|
| 62 |
msda- |
| 63 |
Target RejectNegative Joined Undocumented Alias(msda=) |
| 64 |
|
| 65 |
msmall-sld |
| 66 |
Target Mask(SMALL_SLD) |
| 67 |
Enable the use of the short load instructions. |
| 68 |
|
| 69 |
mspace |
| 70 |
Target RejectNegative |
| 71 |
Same as: -mep -mprolog-function. |
| 72 |
|
| 73 |
mtda= |
| 74 |
Target RejectNegative Joined UInteger |
| 75 |
Set the max size of data eligible for the TDA area. |
| 76 |
|
| 77 |
mtda- |
| 78 |
Target RejectNegative Joined Undocumented Alias(mtda=) |
| 79 |
|
| 80 |
mno-strict-align |
| 81 |
Target Mask(NO_STRICT_ALIGN) |
| 82 |
Do not enforce strict alignment. |
| 83 |
|
| 84 |
mjump-tables-in-data-section |
| 85 |
Target Mask(JUMP_TABLES_IN_DATA_SECTION) |
| 86 |
Put jump tables for switch statements into the .data section rather than the .code section. |
| 87 |
|
| 88 |
mUS-bit-set |
| 89 |
Target Mask(US_BIT_SET) |
| 90 |
|
| 91 |
mv850 |
| 92 |
Target RejectNegative Mask(V850) |
| 93 |
Compile for the v850 processor. |
| 94 |
|
| 95 |
mv850e |
| 96 |
Target RejectNegative Mask(V850E) |
| 97 |
Compile for the v850e processor. |
| 98 |
|
| 99 |
mv850e1 |
| 100 |
Target RejectNegative Mask(V850E1) |
| 101 |
Compile for the v850e1 processor. |
| 102 |
|
| 103 |
mv850es |
| 104 |
Target RejectNegative Mask(V850E1) |
| 105 |
Compile for the v850es variant of the v850e1. |
| 106 |
|
| 107 |
mv850e2 |
| 108 |
Target RejectNegative Mask(V850E2) |
| 109 |
Compile for the v850e2 processor. |
| 110 |
|
| 111 |
mv850e2v3 |
| 112 |
Target RejectNegative Mask(V850E2V3) |
| 113 |
Compile for the v850e2v3 processor. |
| 114 |
|
| 115 |
mv850e3v5 |
| 116 |
Target RejectNegative Mask(V850E3V5) |
| 117 |
Compile for the v850e3v5 processor. |
| 118 |
|
| 119 |
mv850e2v4 |
| 120 |
Target RejectNegative Mask(V850E3V5) MaskExists |
| 121 |
|
| 122 |
mloop |
| 123 |
Target Mask(LOOP) |
| 124 |
Enable v850e3v5 loop instructions. |
| 125 |
|
| 126 |
mzda= |
| 127 |
Target RejectNegative Joined UInteger |
| 128 |
Set the max size of data eligible for the ZDA area. |
| 129 |
|
| 130 |
mzda- |
| 131 |
Target RejectNegative Joined Undocumented Alias(mzda=) |
| 132 |
|
| 133 |
mrelax |
| 134 |
Target Mask(RELAX) |
| 135 |
Enable relaxing in the assembler. |
| 136 |
|
| 137 |
mlong-jumps |
| 138 |
Target Mask(BIG_SWITCH) MaskExists |
| 139 |
Prohibit PC relative jumps. |
| 140 |
|
| 141 |
msoft-float |
| 142 |
Target RejectNegative Mask(SOFT_FLOAT) |
| 143 |
Inhibit the use of hardware floating point instructions. |
| 144 |
|
| 145 |
mhard-float |
| 146 |
Target RejectNegative InverseMask(SOFT_FLOAT) MaskExists |
| 147 |
Allow the use of hardware floating point instructions for V850E2V3 and up. |
| 148 |
|
| 149 |
mrh850-abi |
| 150 |
Target RejectNegative InverseMask(GCC_ABI) MaskExists |
| 151 |
Enable support for the RH850 ABI. This is the default. |
| 152 |
|
| 153 |
mgcc-abi |
| 154 |
Target RejectNegative Mask(GCC_ABI) |
| 155 |
Enable support for the old GCC ABI. |
| 156 |
|
| 157 |
m8byte-align |
| 158 |
Target Mask(8BYTE_ALIGN) |
| 159 |
Support alignments of up to 64-bits. |