]>
Commit | Line | Data |
---|---|---|
fbd26352 | 1 | /* Copyright (C) 2015-2019 Free Software Foundation, Inc. |
5e9fcc70 | 2 | Contributed by ARM Ltd. |
3 | ||
4 | This file is part of GCC. | |
5 | ||
6 | GCC is free software; you can redistribute it and/or modify it | |
7 | under the terms of the GNU General Public License as published | |
8 | by the Free Software Foundation; either version 3, or (at your | |
9 | option) any later version. | |
10 | ||
11 | GCC is distributed in the hope that it will be useful, but WITHOUT | |
12 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY | |
13 | or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public | |
14 | License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with GCC; see the file COPYING3. If not see | |
18 | <http://www.gnu.org/licenses/>. */ | |
19 | ||
20 | /* Additional control over certain tuning parameters. Before including | |
21 | this file, define a macro: | |
22 | ||
7b30250d | 23 | AARCH64_EXTRA_TUNING_OPTION (name, internal_name) |
5e9fcc70 | 24 | |
25 | Where: | |
26 | ||
27 | NAME is a string giving a friendly name for the tuning flag. | |
28 | INTERNAL_NAME gives the internal name suitable for appending to | |
7b30250d | 29 | AARCH64_TUNE_ to give an enum name. */ |
5e9fcc70 | 30 | |
7b30250d | 31 | AARCH64_EXTRA_TUNING_OPTION ("rename_fma_regs", RENAME_FMA_REGS) |
c72e91d3 | 32 | |
33 | /* Don't create non-8 byte aligned load/store pair. That is if the | |
34 | two load/stores are not at least 8 byte aligned don't create load/store | |
35 | pairs. */ | |
36 | AARCH64_EXTRA_TUNING_OPTION ("slow_unaligned_ldpw", SLOW_UNALIGNED_LDPW) | |
f48e16e1 | 37 | |
c44b93a4 | 38 | /* Some of the optional shift to some arthematic instructions are |
39 | considered cheap. Logical shift left <=4 with or without a | |
40 | zero extend are considered cheap. Sign extend; non logical shift left | |
41 | are not considered cheap. */ | |
42 | AARCH64_EXTRA_TUNING_OPTION ("cheap_shift_extend", CHEAP_SHIFT_EXTEND) | |
43 | ||
fd550bb3 | 44 | /* Disallow load/store pair instructions on Q-registers. */ |
45 | AARCH64_EXTRA_TUNING_OPTION ("no_ldp_stp_qregs", NO_LDP_STP_QREGS) | |
46 | ||
8df53f4d | 47 | AARCH64_EXTRA_TUNING_OPTION ("rename_load_regs", RENAME_LOAD_REGS) |
48 | ||
f48e16e1 | 49 | #undef AARCH64_EXTRA_TUNING_OPTION |