OSDN Git Service

Add support for lzd and popc instructions on sparc.
[pf3gnuchains/gcc-fork.git] / gcc / config / m68k / m68k-microarchs.def
1 /* m68k microarchitecture names.
2    Copyright (C) 1987, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
3    2001, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
4    Free Software Foundation, Inc.
5
6    This file is part of GCC.
7
8    GCC is free software; you can redistribute it and/or modify it
9    under the terms of the GNU General Public License as published by
10    the Free Software Foundation; either version 3, or (at your option)
11    any later version.
12
13    GCC is distributed in the hope that it will be useful, but
14    WITHOUT ANY WARRANTY; without even the implied warranty of
15    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16    General Public License for more details.
17
18    You should have received a copy of the GNU General Public License
19    along with GCC; see the file COPYING3.  If not see
20    <http://www.gnu.org/licenses/>.  */
21
22 /* Define microarchitectures for the -mtune option, used both in
23    m68k.c and to generate m68k-tables.opt.  Before including this
24    file, define a macro:
25
26    M68K_MICROARCH (NAME, DEVICE, MICROARCH, ISA, FLAGS)
27
28    where NAME is the name for use with -mtune=, DEVICE is the value in
29    the target_device enumeration of a representative device, FLAGS is
30    the set of FL_* flags that apply to this ISA and the other
31    arguments are as for M68K_DEVICE in m68k-devices.def.  */
32
33 M68K_MICROARCH ("68000",    m68000,  68000,    isa_00,  FL_FOR_isa_00)
34 M68K_MICROARCH ("68010",    m68010,  68010,    isa_10,  FL_FOR_isa_10)
35 M68K_MICROARCH ("68020",    m68020,  68020,    isa_20,  FL_FOR_isa_20)
36 M68K_MICROARCH ("68020-40", m68020,  68020_40, isa_20,  FL_FOR_isa_20)
37 M68K_MICROARCH ("68020-60", m68020,  68020_60, isa_20,  FL_FOR_isa_20)
38 M68K_MICROARCH ("68030",    m68030,  68030,    isa_20,  FL_FOR_isa_20)
39 M68K_MICROARCH ("68040",    m68040,  68040,    isa_40,  FL_FOR_isa_40)
40 M68K_MICROARCH ("68060",    m68060,  68060,    isa_40,  FL_FOR_isa_40)
41 M68K_MICROARCH ("cpu32",    cpu32,   cpu32,    isa_20,  FL_FOR_isa_cpu32)
42 M68K_MICROARCH ("cfv1",     mcf51qe, cfv1,     isa_c,   FL_FOR_isa_c)
43 M68K_MICROARCH ("cfv2",     mcf5206, cfv2,     isa_a,   FL_FOR_isa_a)
44 M68K_MICROARCH ("cfv3",     mcf5307, cfv3,     isa_a,   FL_FOR_isa_a | FL_CF_HWDIV)
45 M68K_MICROARCH ("cfv4",     mcf5407, cfv4,     isa_b,   FL_FOR_isa_b)
46 M68K_MICROARCH ("cfv4e",    mcf547x, cfv4e,    isa_b,   FL_FOR_isa_b | FL_CF_USP| FL_CF_EMAC | FL_CF_FPU)