| 1 |
; Options for the Tensilica Xtensa 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/xtensa/xtensa-opts.h |
| 23 |
|
| 24 |
mconst16 |
| 25 |
Target Mask(CONST16) |
| 26 |
Use CONST16 instruction to load constants. |
| 27 |
|
| 28 |
mforce-no-pic |
| 29 |
Target Mask(FORCE_NO_PIC) |
| 30 |
Disable position-independent code (PIC) for use in OS kernel code. |
| 31 |
|
| 32 |
mlongcalls |
| 33 |
Target Mask(LONGCALLS) |
| 34 |
Use indirect CALLXn instructions for large programs. |
| 35 |
|
| 36 |
mextra-l32r-costs= |
| 37 |
Target RejectNegative Joined UInteger Var(xtensa_extra_l32r_costs) Init(0) |
| 38 |
Set extra memory access cost for L32R instruction, in clock-cycle units. |
| 39 |
|
| 40 |
mlra |
| 41 |
Target Ignore |
| 42 |
Does nothing. Preserved for backward compatibility. |
| 43 |
|
| 44 |
mtarget-align |
| 45 |
Target |
| 46 |
Automatically align branch targets to reduce branch penalties. |
| 47 |
|
| 48 |
mtext-section-literals |
| 49 |
Target |
| 50 |
Intersperse literal pools with code in the text section. |
| 51 |
|
| 52 |
mauto-litpools |
| 53 |
Target Mask(AUTO_LITPOOLS) |
| 54 |
Relax literals in assembler and place them automatically in the text section. |
| 55 |
|
| 56 |
mserialize-volatile |
| 57 |
Target Mask(SERIALIZE_VOLATILE) |
| 58 |
-mno-serialize-volatile Do not serialize volatile memory references with MEMW instructions. |
| 59 |
|
| 60 |
TargetVariable |
| 61 |
int xtensa_windowed_abi = -1 |
| 62 |
|
| 63 |
mabi=call0 |
| 64 |
Target RejectNegative Var(xtensa_windowed_abi, 0) |
| 65 |
Use call0 ABI. |
| 66 |
|
| 67 |
mabi=windowed |
| 68 |
Target RejectNegative Var(xtensa_windowed_abi, 1) |
| 69 |
Use windowed registers ABI. |
| 70 |
|
| 71 |
mstrict-align |
| 72 |
Target Var(xtensa_strict_alignment) Init(XTENSA_STRICT_ALIGNMENT_UNDEFINED) |
| 73 |
Do not use unaligned memory references. |