annotate gcc/config/aarch64/aarch64-cores.def @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents
children 84e7813d76e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Copyright (C) 2011-2017 Free Software Foundation, Inc.
kono
parents:
diff changeset
2 Contributed by ARM Ltd.
kono
parents:
diff changeset
3
kono
parents:
diff changeset
4 This file is part of GCC.
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 GCC is free software; you can redistribute it and/or modify it
kono
parents:
diff changeset
7 under the terms of the GNU General Public License as published by
kono
parents:
diff changeset
8 the Free Software Foundation; either version 3, or (at your option)
kono
parents:
diff changeset
9 any later version.
kono
parents:
diff changeset
10
kono
parents:
diff changeset
11 GCC is distributed in the hope that it will be useful, but
kono
parents:
diff changeset
12 WITHOUT ANY WARRANTY; without even the implied warranty of
kono
parents:
diff changeset
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
kono
parents:
diff changeset
14 General Public License for more details.
kono
parents:
diff changeset
15
kono
parents:
diff changeset
16 You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
17 along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
18 <http://www.gnu.org/licenses/>. */
kono
parents:
diff changeset
19
kono
parents:
diff changeset
20 /* This is a list of cores that implement AArch64.
kono
parents:
diff changeset
21
kono
parents:
diff changeset
22 Before using #include to read this file, define a macro:
kono
parents:
diff changeset
23
kono
parents:
diff changeset
24 AARCH64_CORE(CORE_NAME, CORE_IDENT, SCHEDULER_IDENT, ARCH_IDENT, FLAGS, COSTS, IMP, PART, VARIANT)
kono
parents:
diff changeset
25
kono
parents:
diff changeset
26 The CORE_NAME is the name of the core, represented as a string constant.
kono
parents:
diff changeset
27 The CORE_IDENT is the name of the core, represented as an identifier.
kono
parents:
diff changeset
28 The SCHEDULER_IDENT is the name of the core for which scheduling decisions
kono
parents:
diff changeset
29 will be made, represented as an identifier.
kono
parents:
diff changeset
30 ARCH_IDENT is the architecture implemented by the chip as specified in
kono
parents:
diff changeset
31 aarch64-arches.def.
kono
parents:
diff changeset
32 FLAGS are the bitwise-or of the traits that apply to that core.
kono
parents:
diff changeset
33 This need not include flags implied by the architecture.
kono
parents:
diff changeset
34 COSTS is the name of the rtx_costs routine to use.
kono
parents:
diff changeset
35 IMP is the implementer ID of the CPU vendor. On a GNU/Linux system it
kono
parents:
diff changeset
36 can be found in /proc/cpuinfo. A partial list of implementer IDs is
kono
parents:
diff changeset
37 given in the ARM Architecture Reference Manual ARMv8, for
kono
parents:
diff changeset
38 ARMv8-A architecture profile.
kono
parents:
diff changeset
39 PART is the part number of the CPU. On a GNU/Linux system it can be
kono
parents:
diff changeset
40 found in /proc/cpuinfo. For big.LITTLE systems this should use the
kono
parents:
diff changeset
41 macro AARCH64_BIG_LITTLE where the big part number comes as the first
kono
parents:
diff changeset
42 argument to the macro and little is the second.
kono
parents:
diff changeset
43 VARIANT is the variant of the CPU. In a GNU/Linux system it can found
kono
parents:
diff changeset
44 in /proc/cpuinfo. If this is -1, this means it can match any variant. */
kono
parents:
diff changeset
45
kono
parents:
diff changeset
46 /* ARMv8-A Architecture Processors. */
kono
parents:
diff changeset
47
kono
parents:
diff changeset
48 /* ARM ('A') cores. */
kono
parents:
diff changeset
49 AARCH64_CORE("cortex-a35", cortexa35, cortexa53, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa35, 0x41, 0xd04, -1)
kono
parents:
diff changeset
50 AARCH64_CORE("cortex-a53", cortexa53, cortexa53, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa53, 0x41, 0xd03, -1)
kono
parents:
diff changeset
51 AARCH64_CORE("cortex-a57", cortexa57, cortexa57, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa57, 0x41, 0xd07, -1)
kono
parents:
diff changeset
52 AARCH64_CORE("cortex-a72", cortexa72, cortexa57, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa72, 0x41, 0xd08, -1)
kono
parents:
diff changeset
53 AARCH64_CORE("cortex-a73", cortexa73, cortexa57, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa73, 0x41, 0xd09, -1)
kono
parents:
diff changeset
54
kono
parents:
diff changeset
55 /* Cavium ('C') cores. */
kono
parents:
diff changeset
56 AARCH64_CORE("thunderx", thunderx, thunderx, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, thunderx, 0x43, 0x0a0, -1)
kono
parents:
diff changeset
57 /* Do not swap around "thunderxt88p1" and "thunderxt88",
kono
parents:
diff changeset
58 this order is required to handle variant correctly. */
kono
parents:
diff changeset
59 AARCH64_CORE("thunderxt88p1", thunderxt88p1, thunderx, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, thunderxt88, 0x43, 0x0a1, 0)
kono
parents:
diff changeset
60 AARCH64_CORE("thunderxt88", thunderxt88, thunderx, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, thunderxt88, 0x43, 0x0a1, -1)
kono
parents:
diff changeset
61 AARCH64_CORE("thunderxt81", thunderxt81, thunderx, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, thunderx, 0x43, 0x0a2, -1)
kono
parents:
diff changeset
62 AARCH64_CORE("thunderxt83", thunderxt83, thunderx, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, thunderx, 0x43, 0x0a3, -1)
kono
parents:
diff changeset
63
kono
parents:
diff changeset
64 /* APM ('P') cores. */
kono
parents:
diff changeset
65 AARCH64_CORE("xgene1", xgene1, xgene1, 8A, AARCH64_FL_FOR_ARCH8, xgene1, 0x50, 0x000, -1)
kono
parents:
diff changeset
66
kono
parents:
diff changeset
67 /* Qualcomm ('Q') cores. */
kono
parents:
diff changeset
68 AARCH64_CORE("falkor", falkor, falkor, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO | AARCH64_FL_RDMA, qdf24xx, 0x51, 0xC00, -1)
kono
parents:
diff changeset
69 AARCH64_CORE("qdf24xx", qdf24xx, falkor, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO | AARCH64_FL_RDMA, qdf24xx, 0x51, 0xC00, -1)
kono
parents:
diff changeset
70
kono
parents:
diff changeset
71 /* Samsung ('S') cores. */
kono
parents:
diff changeset
72 AARCH64_CORE("exynos-m1", exynosm1, exynosm1, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC | AARCH64_FL_CRYPTO, exynosm1, 0x53, 0x001, -1)
kono
parents:
diff changeset
73
kono
parents:
diff changeset
74 /* ARMv8.1-A Architecture Processors. */
kono
parents:
diff changeset
75
kono
parents:
diff changeset
76 /* Broadcom ('B') cores. */
kono
parents:
diff changeset
77 AARCH64_CORE("thunderx2t99p1", thunderx2t99p1, thunderx2t99, 8_1A, AARCH64_FL_FOR_ARCH8_1 | AARCH64_FL_CRYPTO, thunderx2t99, 0x42, 0x516, -1)
kono
parents:
diff changeset
78 AARCH64_CORE("vulcan", vulcan, thunderx2t99, 8_1A, AARCH64_FL_FOR_ARCH8_1 | AARCH64_FL_CRYPTO, thunderx2t99, 0x42, 0x516, -1)
kono
parents:
diff changeset
79
kono
parents:
diff changeset
80 /* Cavium ('C') cores. */
kono
parents:
diff changeset
81 AARCH64_CORE("thunderx2t99", thunderx2t99, thunderx2t99, 8_1A, AARCH64_FL_FOR_ARCH8_1 | AARCH64_FL_CRYPTO, thunderx2t99, 0x43, 0x0af, -1)
kono
parents:
diff changeset
82
kono
parents:
diff changeset
83 /* ARMv8.2-A Architecture Processors. */
kono
parents:
diff changeset
84
kono
parents:
diff changeset
85 /* ARM ('A') cores. */
kono
parents:
diff changeset
86 AARCH64_CORE("cortex-a55", cortexa55, cortexa53, 8_2A, AARCH64_FL_FOR_ARCH8_2 | AARCH64_FL_RCPC | AARCH64_FL_DOTPROD, cortexa53, 0x41, 0xd05, -1)
kono
parents:
diff changeset
87 AARCH64_CORE("cortex-a75", cortexa75, cortexa57, 8_2A, AARCH64_FL_FOR_ARCH8_2 | AARCH64_FL_RCPC | AARCH64_FL_DOTPROD, cortexa73, 0x41, 0xd0a, -1)
kono
parents:
diff changeset
88
kono
parents:
diff changeset
89 /* ARMv8-A big.LITTLE implementations. */
kono
parents:
diff changeset
90
kono
parents:
diff changeset
91 AARCH64_CORE("cortex-a57.cortex-a53", cortexa57cortexa53, cortexa53, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa57, 0x41, AARCH64_BIG_LITTLE (0xd07, 0xd03), -1)
kono
parents:
diff changeset
92 AARCH64_CORE("cortex-a72.cortex-a53", cortexa72cortexa53, cortexa53, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa72, 0x41, AARCH64_BIG_LITTLE (0xd08, 0xd03), -1)
kono
parents:
diff changeset
93 AARCH64_CORE("cortex-a73.cortex-a35", cortexa73cortexa35, cortexa53, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa73, 0x41, AARCH64_BIG_LITTLE (0xd09, 0xd04), -1)
kono
parents:
diff changeset
94 AARCH64_CORE("cortex-a73.cortex-a53", cortexa73cortexa53, cortexa53, 8A, AARCH64_FL_FOR_ARCH8 | AARCH64_FL_CRC, cortexa73, 0x41, AARCH64_BIG_LITTLE (0xd09, 0xd03), -1)
kono
parents:
diff changeset
95
kono
parents:
diff changeset
96 /* ARM DynamIQ big.LITTLE configurations. */
kono
parents:
diff changeset
97
kono
parents:
diff changeset
98 AARCH64_CORE("cortex-a75.cortex-a55", cortexa75cortexa55, cortexa53, 8_2A, AARCH64_FL_FOR_ARCH8_2 | AARCH64_FL_RCPC | AARCH64_FL_DOTPROD, cortexa73, 0x41, AARCH64_BIG_LITTLE (0xd0a, 0xd05), -1)
kono
parents:
diff changeset
99
kono
parents:
diff changeset
100 #undef AARCH64_CORE