config.gcc: Simplify arm --with-{cpu,tune} test.
[official-gcc.git] / gcc / config / arm / arm-cores.def
blobe31bc12fc22ad6341fc492acd9473c4a171dd961
1 /* ARM CPU Cores
2 Copyright (C) 2003 Free Software Foundation, Inc.
3 Written by CodeSourcery, LLC
5 This file is part of GCC.
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 2, or (at your option)
10 any later version.
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.
17 You should have received a copy of the GNU General Public License
18 along with GCC; see the file COPYING. If not, write to the Free
19 Software Foundation, 59 Temple Place - Suite 330, Boston, MA
20 02111-1307, USA. */
22 /* Before using #include to read this file, define a macro:
24 ARM_CORE(CORE_NAME, ARCH, FLAGS, COSTS)
26 The CORE_NAME is the name of the core, represented as an identifier
27 rather than a string constant.
28 ARCH is the architecture revision implemeted 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 If you update this table, you must update the "tune" attribute in
34 arm.md.
36 Some tools assume no writespace up to the first "," in each entry. */
38 ARM_CORE(arm2, 2, FL_CO_PROC | FL_MODE26, slowmul)
39 ARM_CORE(arm250, 2, FL_CO_PROC | FL_MODE26, slowmul)
40 ARM_CORE(arm3, 2, FL_CO_PROC | FL_MODE26, slowmul)
41 ARM_CORE(arm6, 3, FL_CO_PROC | FL_MODE26, slowmul)
42 ARM_CORE(arm60, 3, FL_CO_PROC | FL_MODE26, slowmul)
43 ARM_CORE(arm600, 3, FL_CO_PROC | FL_MODE26, slowmul)
44 ARM_CORE(arm610, 3, FL_MODE26, slowmul)
45 ARM_CORE(arm620, 3, FL_CO_PROC | FL_MODE26, slowmul)
46 ARM_CORE(arm7, 3, FL_CO_PROC | FL_MODE26, slowmul)
47 /* arm7m doesn't exist on its own, but only with D, (and I), but
48 those don't alter the code, so arm7m is sometimes used. */
49 ARM_CORE(arm7m, 3M, FL_CO_PROC | FL_MODE26, fastmul)
50 ARM_CORE(arm7d, 3, FL_CO_PROC | FL_MODE26, slowmul)
51 ARM_CORE(arm7dm, 3M, FL_CO_PROC | FL_MODE26, fastmul)
52 ARM_CORE(arm7di, 3, FL_CO_PROC | FL_MODE26, slowmul)
53 ARM_CORE(arm7dmi, 3M, FL_CO_PROC | FL_MODE26, fastmul)
54 ARM_CORE(arm70, 3, FL_CO_PROC | FL_MODE26, slowmul)
55 ARM_CORE(arm700, 3, FL_CO_PROC | FL_MODE26, slowmul)
56 ARM_CORE(arm700i, 3, FL_CO_PROC | FL_MODE26, slowmul)
57 ARM_CORE(arm710, 3, FL_MODE26, slowmul)
58 ARM_CORE(arm720, 3, FL_MODE26, slowmul)
59 ARM_CORE(arm710c, 3, FL_MODE26, slowmul)
60 ARM_CORE(arm7100, 3, FL_MODE26, slowmul)
61 ARM_CORE(arm7500, 3, FL_MODE26, slowmul)
62 /* Doesn't have an external co-proc, but does have embedded fpa. */
63 ARM_CORE(arm7500fe, 3, FL_CO_PROC | FL_MODE26, slowmul)
64 /* V4 Architecture Processors */
65 ARM_CORE(arm7tdmi, 4T, FL_CO_PROC , fastmul)
66 ARM_CORE(arm710t, 4T, 0 , fastmul)
67 ARM_CORE(arm720t, 4T, 0 , fastmul)
68 ARM_CORE(arm740t, 4T, 0 , fastmul)
69 ARM_CORE(arm8, 4, FL_MODE26 | FL_LDSCHED, fastmul)
70 ARM_CORE(arm810, 4, FL_MODE26 | FL_LDSCHED, fastmul)
71 ARM_CORE(arm9, 4T, FL_LDSCHED, fastmul)
72 ARM_CORE(arm920, 4, FL_LDSCHED, fastmul)
73 ARM_CORE(arm920t, 4T, FL_LDSCHED, fastmul)
74 ARM_CORE(arm940t, 4T, FL_LDSCHED, fastmul)
75 ARM_CORE(arm9tdmi, 4T, FL_LDSCHED, fastmul)
76 ARM_CORE(arm9e, 4, FL_LDSCHED, 9e)
78 ARM_CORE(ep9312, 4T, FL_LDSCHED | FL_CIRRUS, fastmul)
79 ARM_CORE(strongarm, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul)
80 ARM_CORE(strongarm110, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul)
81 ARM_CORE(strongarm1100, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul)
82 ARM_CORE(strongarm1110, 4, FL_MODE26 | FL_LDSCHED | FL_STRONG, fastmul)
83 /* V5 Architecture Processors */
84 ARM_CORE(arm10tdmi, 5T, FL_LDSCHED, fastmul)
85 ARM_CORE(arm1020t, 5T, FL_LDSCHED, fastmul)
86 ARM_CORE(arm926ejs, 5TEJ, 0, 9e)
87 ARM_CORE(arm1026ejs, 5TEJ, 0, 9e)
88 ARM_CORE(xscale, 5TE, FL_LDSCHED | FL_STRONG | FL_XSCALE, xscale)
89 ARM_CORE(iwmmxt, 5TE, FL_LDSCHED | FL_STRONG | FL_XSCALE | FL_IWMMXT, xscale)
90 /* V6 Architecture Processors */
91 ARM_CORE(arm1136js, 6J, 0, 9e)
92 ARM_CORE(arm1136jfs, 6J, FL_VFPV2, 9e)