xref: /netbsd-src/external/gpl3/gcc.old/dist/gcc/config/xtensa/xtensa.opt (revision 8feb0f0b7eaff0608f8350bbfa3098827b4bb91b)
1; Options for the Tensilica Xtensa port of the compiler.
2
3; Copyright (C) 2005-2020 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
21mconst16
22Target Report Mask(CONST16)
23Use CONST16 instruction to load constants.
24
25mforce-no-pic
26Target Report Mask(FORCE_NO_PIC)
27Disable position-independent code (PIC) for use in OS kernel code.
28
29mlongcalls
30Target
31Use indirect CALLXn instructions for large programs.
32
33mtarget-align
34Target
35Automatically align branch targets to reduce branch penalties.
36
37mtext-section-literals
38Target
39Intersperse literal pools with code in the text section.
40
41mauto-litpools
42Target Report Mask(AUTO_LITPOOLS)
43Relax literals in assembler and place them automatically in the text section.
44
45mserialize-volatile
46Target Report Mask(SERIALIZE_VOLATILE)
47-mno-serialize-volatile	Do not serialize volatile memory references with MEMW instructions.
48