msp430.c (msp430_use_f5_series_hwmult): Add more prefixes of known F5 using MSP430...
authorNick Clifton <nickc@redhat.com>
Wed, 4 Feb 2015 11:50:46 +0000 (11:50 +0000)
committerNick Clifton <nickc@gcc.gnu.org>
Wed, 4 Feb 2015 11:50:46 +0000 (11:50 +0000)
* config/msp430/msp430.c (msp430_use_f5_series_hwmult): Add more
prefixes of known F5 using MSP430 MCUs.

From-SVN: r220396

gcc/ChangeLog
gcc/config/msp430/msp430.c

index bbf8feb6529a03565df129ae632a1e80df8387ae..7a6963577acf4b6da0a43cc518c32653fdb8d986 100644 (file)
@@ -1,3 +1,8 @@
+2015-02-04  Nick Clifton  <nickc@redhat.com>
+
+       * config/msp430/msp430.c (msp430_use_f5_series_hwmult): Add more
+       prefixes of known F5 using MSP430 MCUs.
+
 2015-02-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
 
        * config/aarch64/aarch64-simd-builtins.def (sqrt): Use BUILTIN_VDQF_DF.
index 35d2a7dfe4b9fab505d8c257636e1818e60da1c1..e3c608be5307df93f332d6f77523346beb4e462b 100644 (file)
@@ -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;