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