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