aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/msp430/msp430.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2015-02-04 11:50:46 +0000
committerNick Clifton <nickc@gcc.gnu.org>2015-02-04 11:50:46 +0000
commit6f56da5d6ef649549b48e74fdc2d8692be5f8e17 (patch)
tree031805d94c6c506cccce31308ac16542fcab8f54 /gcc/config/msp430/msp430.c
parent151ac6e27749b947dda9f9648b7016232106bec9 (diff)
downloadgcc-6f56da5d6ef649549b48e74fdc2d8692be5f8e17.zip
gcc-6f56da5d6ef649549b48e74fdc2d8692be5f8e17.tar.gz
gcc-6f56da5d6ef649549b48e74fdc2d8692be5f8e17.tar.bz2
msp430.c (msp430_use_f5_series_hwmult): Add more prefixes of known F5 using MSP430 MCUs.
* config/msp430/msp430.c (msp430_use_f5_series_hwmult): Add more prefixes of known F5 using MSP430 MCUs. From-SVN: r220396
Diffstat (limited to 'gcc/config/msp430/msp430.c')
-rw-r--r--gcc/config/msp430/msp430.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c
index 35d2a7d..e3c608b 100644
--- a/gcc/config/msp430/msp430.c
+++ b/gcc/config/msp430/msp430.c
@@ -2201,6 +2201,10 @@ msp430_use_f5_series_hwmult (void)
if (strncasecmp (target_mcu, "msp430f5", 8) == 0)
return cached_result = true;
+ if (strncasecmp (target_mcu, "msp430fr5", 9) == 0)
+ return cached_result = true;
+ if (strncasecmp (target_mcu, "msp430f6", 8) == 0)
+ return cached_result = true;
static const char * known_f5_mult_mcus [] =
{
@@ -2209,7 +2213,8 @@ msp430_use_f5_series_hwmult (void)
"cc430f5145", "cc430f5147", "cc430f6125",
"cc430f6126", "cc430f6127", "cc430f6135",
"cc430f6137", "cc430f6143", "cc430f6145",
- "cc430f6147", "msp430bt5190", "msp430sl5438a"
+ "cc430f6147", "msp430bt5190", "msp430sl5438a",
+ "msp430xgeneric"
};
int i;