]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/config/aarch64/aarch64.opt
[AArch64][5/14] Make flag_omit_leaf_frame_pointer intialize to 2. Define and use...
[thirdparty/gcc.git] / gcc / config / aarch64 / aarch64.opt
CommitLineData
43e9d192 1; Machine description for AArch64 architecture.
5624e564 2; Copyright (C) 2009-2015 Free Software Foundation, Inc.
43e9d192
IB
3; Contributed by ARM Ltd.
4;
5; This file is part of GCC.
6;
7; GCC is free software; you can redistribute it and/or modify it
8; under the terms of the GNU General Public License as published by
9; the Free Software Foundation; either version 3, or (at your option)
10; any later version.
11;
12; GCC is distributed in the hope that it will be useful, but
13; WITHOUT ANY WARRANTY; without even the implied warranty of
14; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15; General Public License 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
21HeaderInclude
22config/aarch64/aarch64-opts.h
23
24; The TLS dialect names to use with -mtls-dialect.
25
26Enum
27Name(tls_type) Type(enum aarch64_tls_type)
28The possible TLS dialects:
29
30EnumValue
31Enum(tls_type) String(trad) Value(TLS_TRADITIONAL)
32
33EnumValue
34Enum(tls_type) String(desc) Value(TLS_DESCRIPTORS)
35
36; The code model option names for -mcmodel.
37
38Enum
39Name(cmodel) Type(enum aarch64_code_model)
40The code model option names for -mcmodel:
41
42EnumValue
43Enum(cmodel) String(tiny) Value(AARCH64_CMODEL_TINY)
44
45EnumValue
46Enum(cmodel) String(small) Value(AARCH64_CMODEL_SMALL)
47
48EnumValue
49Enum(cmodel) String(large) Value(AARCH64_CMODEL_LARGE)
50
43e9d192
IB
51mbig-endian
52Target Report RejectNegative Mask(BIG_END)
53Assume target CPU is configured as big endian
54
55mgeneral-regs-only
56Target Report RejectNegative Mask(GENERAL_REGS_ONLY)
57Generate code which uses only the general registers
58
75cf1494 59mfix-cortex-a53-835769
5e396da6 60Target Report Var(aarch64_fix_a53_err835769) Init(2)
75cf1494
KT
61Workaround for ARM Cortex-A53 Erratum number 835769
62
bf05ef76
YR
63mfix-cortex-a53-843419
64Target Report
65Workaround for ARM Cortex-A53 Erratum number 843419
66
43e9d192
IB
67mlittle-endian
68Target Report RejectNegative InverseMask(BIG_END)
69Assume target CPU is configured as little endian
70
71mcmodel=
72Target RejectNegative Joined Enum(cmodel) Var(aarch64_cmodel_var) Init(AARCH64_CMODEL_SMALL)
73Specify the code model
74
75mstrict-align
76Target Report RejectNegative Mask(STRICT_ALIGN)
77Don't assume that unaligned accesses are handled by the system
78
79momit-leaf-frame-pointer
bca541c3 80Target Report Save Var(flag_omit_leaf_frame_pointer) Init(2)
43e9d192
IB
81Omit the frame pointer in leaf functions
82
83mtls-dialect=
84Target RejectNegative Joined Enum(tls_type) Var(aarch64_tls_dialect) Init(TLS_DESCRIPTORS)
85Specify TLS dialect
86
87march=
608df31f 88Target RejectNegative ToLower Joined Var(aarch64_arch_string)
43e9d192
IB
89-march=ARCH Use features of architecture ARCH
90
91mcpu=
608df31f 92Target RejectNegative ToLower Joined Var(aarch64_cpu_string)
43e9d192
IB
93-mcpu=CPU Use features of and optimize for CPU
94
95mtune=
608df31f 96Target RejectNegative ToLower Joined Var(aarch64_tune_string)
43e9d192 97-mtune=CPU Optimize for CPU
17a819cb
YZ
98
99mabi=
100Target RejectNegative Joined Enum(aarch64_abi) Var(aarch64_abi) Init(AARCH64_ABI_DEFAULT)
101-mabi=ABI Generate code that conforms to the specified ABI
102
8dec06f2
JG
103moverride=
104Target RejectNegative ToLower Joined Var(aarch64_override_tune_string)
105-moverride=STRING Power users only! Override CPU optimization parameters
106
17a819cb
YZ
107Enum
108Name(aarch64_abi) Type(int)
109Known AArch64 ABIs (for use with the -mabi= option):
110
111EnumValue
112Enum(aarch64_abi) String(ilp32) Value(AARCH64_ABI_ILP32)
113
114EnumValue
115Enum(aarch64_abi) String(lp64) Value(AARCH64_ABI_LP64)