2016-10-07 Andrew Pinski <apinski@cavium.com>
[official-gcc.git] / gcc / config / aarch64 / aarch64-arches.def
blob830a7cf545532c050847a8c915d21bef12152388
1 /* Copyright (C) 2011-2016 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
8 by the Free Software Foundation; either version 3, or (at your
9 option) any later version.
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.
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 /* Before using #include to read this file, define a macro:
22 AARCH64_ARCH(NAME, CORE, ARCH_IDENT, ARCH_REV, FLAGS)
24 The NAME is the name of the architecture, represented as a string
25 constant. The CORE is the identifier for a core representative of
26 this architecture. ARCH_IDENT is the architecture identifier. It must be
27 unique and be syntactically valid to appear as part of an enum identifier.
28 ARCH_REV is an integer specifying the architecture major revision.
29 FLAGS are the flags implied by the architecture.
30 Due to the assumptions about the positions of these fields in config.gcc,
31 the NAME should be kept as the first argument and FLAGS as the last. */
33 AARCH64_ARCH("armv8-a", generic, 8A, 8, AARCH64_FL_FOR_ARCH8)
34 AARCH64_ARCH("armv8.1-a", generic, 8_1A, 8, AARCH64_FL_FOR_ARCH8_1)
35 AARCH64_ARCH("armv8.2-a", generic, 8_2A, 8, AARCH64_FL_FOR_ARCH8_2)
37 #undef AARCH64_ARCH