From 6f56da5d6ef649549b48e74fdc2d8692be5f8e17 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 4 Feb 2015 11:50:46 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 5 +++++ gcc/config/msp430/msp430.c | 7 ++++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index bbf8feb6529..7a6963577ac 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2015-02-04 Nick Clifton + + * config/msp430/msp430.c (msp430_use_f5_series_hwmult): Add more + prefixes of known F5 using MSP430 MCUs. + 2015-02-04 Kyrylo Tkachov * config/aarch64/aarch64-simd-builtins.def (sqrt): Use BUILTIN_VDQF_DF. diff --git a/gcc/config/msp430/msp430.c b/gcc/config/msp430/msp430.c index 35d2a7dfe4b..e3c608be530 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; -- 2.30.2