| 1 |
/* GCC option-handling definitions for the TI MSP430 |
| 2 |
Copyright (C) 2014-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 it |
| 7 |
under the terms of the GNU General Public License as published |
| 8 |
by the Free Software Foundation; either version 3, or (at your |
| 9 |
option) any later version. |
| 10 |
|
| 11 |
GCC is distributed in the hope that it will be useful, but WITHOUT |
| 12 |
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY |
| 13 |
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public |
| 14 |
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 MSP430_OPTS_H |
| 21 |
#define MSP430_OPTS_H |
| 22 |
|
| 23 |
enum msp430_hwmult_types |
| 24 |
{ |
| 25 |
MSP430_HWMULT_NONE, |
| 26 |
MSP430_HWMULT_AUTO, |
| 27 |
MSP430_HWMULT_SMALL, |
| 28 |
MSP430_HWMULT_LARGE, |
| 29 |
MSP430_HWMULT_F5SERIES |
| 30 |
}; |
| 31 |
|
| 32 |
enum msp430_cpu_types |
| 33 |
{ |
| 34 |
MSP430_CPU_MSP430, |
| 35 |
MSP430_CPU_430, |
| 36 |
MSP430_CPU_MSP430X_DEFAULT, /* The default setting, which will be overriden |
| 37 |
by any other -mcpu= value. */ |
| 38 |
MSP430_CPU_MSP430X, |
| 39 |
MSP430_CPU_430X, |
| 40 |
MSP430_CPU_MSP430XV2, |
| 41 |
MSP430_CPU_430XV2 |
| 42 |
}; |
| 43 |
|
| 44 |
enum msp430_regions |
| 45 |
{ |
| 46 |
MSP430_REGION_ANY, |
| 47 |
MSP430_REGION_EITHER, |
| 48 |
MSP430_REGION_LOWER, |
| 49 |
MSP430_REGION_UPPER |
| 50 |
}; |
| 51 |
|
| 52 |
#endif |