| 1 |
/* Definitions for option handling for Motorola 680x0/ColdFire. |
| 2 |
Copyright (C) 1987-2025 Free Software Foundation, Inc. |
| 3 |
|
| 4 |
This file is part of GCC. |
| 5 |
|
| 6 |
GCC is free software; you can redistribute it and/or modify |
| 7 |
it under the terms of the GNU General Public License as published by |
| 8 |
the Free Software Foundation; either version 3, or (at your option) |
| 9 |
any later version. |
| 10 |
|
| 11 |
GCC is distributed in the hope that it will be useful, |
| 12 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
GNU General Public License for more details. |
| 15 |
|
| 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/>. */ |
| 19 |
|
| 20 |
#ifndef M68K_OPTS_H |
| 21 |
#define M68K_OPTS_H |
| 22 |
|
| 23 |
/* Values used in the MICROARCH argument to M68K_DEVICE. */ |
| 24 |
enum uarch_type |
| 25 |
{ |
| 26 |
#define M68K_MICROARCH(NAME,DEVICE,MICROARCH,ISA,FLAGS) \ |
| 27 |
u##MICROARCH, |
| 28 |
#include "m68k-microarchs.def" |
| 29 |
#undef M68K_MICROARCH |
| 30 |
ucfv5, |
| 31 |
unk_arch |
| 32 |
}; |
| 33 |
|
| 34 |
/* An enumeration of all supported target devices. */ |
| 35 |
enum target_device |
| 36 |
{ |
| 37 |
#define M68K_DEVICE(NAME,ENUM_VALUE,FAMILY,MULTILIB,MICROARCH,ISA,FLAGS) \ |
| 38 |
ENUM_VALUE, |
| 39 |
#include "m68k-devices.def" |
| 40 |
#undef M68K_DEVICE |
| 41 |
unk_device |
| 42 |
}; |
| 43 |
|
| 44 |
#endif |