]>
Commit | Line | Data |
---|---|---|
43e9d192 IB |
1 | ; Machine description for AArch64 architecture. |
2 | ; Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc. | |
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 | ||
21 | HeaderInclude | |
22 | config/aarch64/aarch64-opts.h | |
23 | ||
24 | ; The TLS dialect names to use with -mtls-dialect. | |
25 | ||
26 | Enum | |
27 | Name(tls_type) Type(enum aarch64_tls_type) | |
28 | The possible TLS dialects: | |
29 | ||
30 | EnumValue | |
31 | Enum(tls_type) String(trad) Value(TLS_TRADITIONAL) | |
32 | ||
33 | EnumValue | |
34 | Enum(tls_type) String(desc) Value(TLS_DESCRIPTORS) | |
35 | ||
36 | ; The code model option names for -mcmodel. | |
37 | ||
38 | Enum | |
39 | Name(cmodel) Type(enum aarch64_code_model) | |
40 | The code model option names for -mcmodel: | |
41 | ||
42 | EnumValue | |
43 | Enum(cmodel) String(tiny) Value(AARCH64_CMODEL_TINY) | |
44 | ||
45 | EnumValue | |
46 | Enum(cmodel) String(small) Value(AARCH64_CMODEL_SMALL) | |
47 | ||
48 | EnumValue | |
49 | Enum(cmodel) String(large) Value(AARCH64_CMODEL_LARGE) | |
50 | ||
51 | ; The cpu/arch option names to use in cpu/arch selection. | |
52 | ||
53 | Variable | |
54 | const char *aarch64_arch_string | |
55 | ||
56 | Variable | |
57 | const char *aarch64_cpu_string | |
58 | ||
59 | Variable | |
60 | const char *aarch64_tune_string | |
61 | ||
62 | mbig-endian | |
63 | Target Report RejectNegative Mask(BIG_END) | |
64 | Assume target CPU is configured as big endian | |
65 | ||
66 | mgeneral-regs-only | |
67 | Target Report RejectNegative Mask(GENERAL_REGS_ONLY) | |
68 | Generate code which uses only the general registers | |
69 | ||
70 | mlittle-endian | |
71 | Target Report RejectNegative InverseMask(BIG_END) | |
72 | Assume target CPU is configured as little endian | |
73 | ||
74 | mcmodel= | |
75 | Target RejectNegative Joined Enum(cmodel) Var(aarch64_cmodel_var) Init(AARCH64_CMODEL_SMALL) | |
76 | Specify the code model | |
77 | ||
78 | mstrict-align | |
79 | Target Report RejectNegative Mask(STRICT_ALIGN) | |
80 | Don't assume that unaligned accesses are handled by the system | |
81 | ||
82 | momit-leaf-frame-pointer | |
83 | Target Report Save Var(flag_omit_leaf_frame_pointer) Init(1) | |
84 | Omit the frame pointer in leaf functions | |
85 | ||
86 | mtls-dialect= | |
87 | Target RejectNegative Joined Enum(tls_type) Var(aarch64_tls_dialect) Init(TLS_DESCRIPTORS) | |
88 | Specify TLS dialect | |
89 | ||
90 | march= | |
91 | Target RejectNegative Joined Var(aarch64_arch_string) | |
92 | -march=ARCH Use features of architecture ARCH | |
93 | ||
94 | mcpu= | |
95 | Target RejectNegative Joined Var(aarch64_cpu_string) | |
96 | -mcpu=CPU Use features of and optimize for CPU | |
97 | ||
98 | mtune= | |
99 | Target RejectNegative Joined Var(aarch64_tune_string) | |
100 | -mtune=CPU Optimize for CPU |