annotate gcc/config/arc/arc-cpus.def @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* ARC CPU architectures.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
2 Copyright (C) 2016-2018 Free Software Foundation, Inc.
111
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
kono
parents:
diff changeset
8 by the Free Software Foundation; either version 3, or (at your
kono
parents:
diff changeset
9 option) 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 WITHOUT
kono
parents:
diff changeset
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
kono
parents:
diff changeset
13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
kono
parents:
diff changeset
14 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 /* List of various ARC CPU configurations. If updated, cd to
kono
parents:
diff changeset
21 $(builddir)/gcc and run
kono
parents:
diff changeset
22
kono
parents:
diff changeset
23 $ make arc-cpus
kono
parents:
diff changeset
24
kono
parents:
diff changeset
25 This will regenerate / update the following source files:
kono
parents:
diff changeset
26
kono
parents:
diff changeset
27 - $(srcdir)/config/arc/t-multilib
kono
parents:
diff changeset
28 - $(srcdir)/config/arc/arc-tables.opt
kono
parents:
diff changeset
29
kono
parents:
diff changeset
30 After that, rebuild everything and check-in the new sources to the
kono
parents:
diff changeset
31 repo. This file defines the accepted values for -mcpu=<CPU>
kono
parents:
diff changeset
32 option.
kono
parents:
diff changeset
33
kono
parents:
diff changeset
34 Before including this file, define a macro:
kono
parents:
diff changeset
35
kono
parents:
diff changeset
36 ARC_CPU (NAME, ARCH, FLAGS, TUNE)
kono
parents:
diff changeset
37
kono
parents:
diff changeset
38 where the arguments are the fields of arc_cpu_t:
kono
parents:
diff changeset
39
kono
parents:
diff changeset
40 NAME A given arbitrary name.
kono
parents:
diff changeset
41 ARCH Base architecture for the given CPU.
kono
parents:
diff changeset
42 FLAGS Specific hardware flags that are enabled by this CPU configuration,
kono
parents:
diff changeset
43 as defined in arc-options.def file, and allowed by arc-arches.def
kono
parents:
diff changeset
44 file. The specific hardware flags are enumerated without using
kono
parents:
diff changeset
45 spaces between the '|' character and consequtive flags.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
46 EXTRA Extra hardware flags, different than the ones in
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
47 arc-arches.def. Here we can specify the width of lp_count,
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
48 for example.
111
kono
parents:
diff changeset
49 TUNE Tune value for the given configuration, otherwise NONE. */
kono
parents:
diff changeset
50
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
51 ARC_CPU (em, em, 0, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
52 ARC_CPU (em_mini, em, FL_RF16, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
53 ARC_CPU (arcem, em, FL_MPYOPT_2|FL_CD|FL_BS, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
54 ARC_CPU (em4, em, FL_CD, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
55 ARC_CPU (em4_dmips, em, FL_MPYOPT_2|FL_CD|FL_DIVREM|FL_NORM|FL_SWAP|FL_BS, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
56 ARC_CPU (em4_fpus, em, FL_MPYOPT_2|FL_CD|FL_DIVREM|FL_NORM|FL_SWAP|FL_BS|FL_FPU_FPUS, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
57 ARC_CPU (em4_fpuda, em, FL_MPYOPT_2|FL_CD|FL_DIVREM|FL_NORM|FL_SWAP|FL_BS|FL_FPU_FPUDA, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
58 ARC_CPU (quarkse_em, em, FL_MPYOPT_3|FL_CD|FL_DIVREM|FL_NORM|FL_SWAP|FL_BS|FL_FPX_QUARK|FL_SPFP|FL_DPFP, LPCOUNT_16, NONE)
111
kono
parents:
diff changeset
59
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
60 ARC_CPU (hs, hs, 0, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
61 ARC_CPU (archs, hs, FL_MPYOPT_2|FL_DIVREM|FL_LL64, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
62 ARC_CPU (hs34, hs, FL_MPYOPT_2, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
63 ARC_CPU (hs38, hs, FL_MPYOPT_9|FL_DIVREM|FL_LL64, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
64 ARC_CPU (hs38_linux, hs, FL_MPYOPT_9|FL_DIVREM|FL_LL64|FL_FPU_FPUD_ALL, NONE, NONE)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
65 ARC_CPU (hs4x, hs, FL_MPYOPT_9|FL_DIVREM|FL_LL64, NONE, ARCHS4X)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
66 ARC_CPU (hs4xd, hs, FL_MPYOPT_9|FL_DIVREM|FL_LL64, NONE, ARCHS4XD)
111
kono
parents:
diff changeset
67
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
68 ARC_CPU (arc600, 6xx, FL_BS, NONE, ARC600)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
69 ARC_CPU (arc600_norm, 6xx, FL_BS|FL_NORM, NONE, ARC600)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
70 ARC_CPU (arc600_mul64, 6xx, FL_BS|FL_NORM|FL_MUL64, NONE, ARC600)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
71 ARC_CPU (arc600_mul32x16, 6xx, FL_BS|FL_NORM|FL_MUL32x16, NONE, ARC600)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
72 ARC_CPU (arc601, 6xx, 0, NONE, ARC600)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
73 ARC_CPU (arc601_norm, 6xx, FL_NORM, NONE, ARC600)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
74 ARC_CPU (arc601_mul64, 6xx, FL_NORM|FL_MUL64, NONE, ARC600)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
75 ARC_CPU (arc601_mul32x16, 6xx, FL_NORM|FL_MUL32x16, NONE, ARC600)
111
kono
parents:
diff changeset
76
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
77 ARC_CPU (arc700, 700, 0, NONE, ARC700_4_2_STD)
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
78 ARC_CPU (nps400, 700, 0, NONE, ARC700_4_2_STD)
111
kono
parents:
diff changeset
79
kono
parents:
diff changeset
80 /* Local Variables: */
kono
parents:
diff changeset
81 /* mode: c */
kono
parents:
diff changeset
82 /* End: */