Merged revisions 195034,195219,195245,195357,195374,195428,195599,195673,195809 via...
[official-gcc.git] / main / gcc / config / aarch64 / aarch64-cores.def
blobc840aa016e86278d8f6a97ed4346823e566c1157
1 /* Copyright (C) 2011-2013 Free Software Foundation, Inc.
2 Contributed by ARM Ltd.
4 This file is part of GCC.
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 by
8 the Free Software Foundation; either version 3, or (at your option)
9 any later version.
11 GCC is distributed in the hope that it will be useful, but
12 WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 General Public License for more details.
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/>. */
20 /* This is a list of cores that implement AArch64.
22 Before using #include to read this file, define a macro:
24 AARCH64_CORE(CORE_NAME, CORE_IDENT, ARCH, FLAGS, COSTS)
26 The CORE_NAME is the name of the core, represented as a string constant.
27 The CORE_IDENT is the name of the core, represented as an identifier.
28 ARCH is the architecture revision implemented by the chip.
29 FLAGS are the bitwise-or of the traits that apply to that core.
30 This need not include flags implied by the architecture.
31 COSTS is the name of the rtx_costs routine to use. */
33 /* V8 Architecture Processors.
34 This list currently contains example CPUs that implement AArch64, and
35 therefore serves as a template for adding more CPUs in the future. */
37 AARCH64_CORE("cortex-a53", cortexa53, 8, AARCH64_FL_FPSIMD, generic)
38 AARCH64_CORE("cortex-a57", cortexa57, 8, AARCH64_FL_FPSIMD, generic)
39 AARCH64_CORE("example-1", large, 8, AARCH64_FL_FPSIMD, generic)
40 AARCH64_CORE("example-2", small, 8, AARCH64_FL_FPSIMD, generic)