2009-08-04 Sandra Loosemore <sandra@codesourcery.com>
authorSandra Loosemore <sandra@codesourcery.com>
Wed, 5 Aug 2009 00:44:01 +0000 (00:44 +0000)
committerSandra Loosemore <sandra@codesourcery.com>
Wed, 5 Aug 2009 00:44:01 +0000 (00:44 +0000)
gas/
* doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
* config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.

gas/ChangeLog
gas/config/tc-mips.c
gas/doc/c-mips.texi

index 58564c6..aea4619 100644 (file)
@@ -1,3 +1,8 @@
+2009-08-04  Sandra Loosemore  <sandra@codesourcery.com>
+
+       * doc/c-mips.texi (MIPS Opts): List 1004K options for -march.
+       * config/tc-mips.c (mips_cpu_info_table): Add 1004K cores.
+
 2009-08-04  Nathan Sidwell  <nathan@codesourcery.com>
 
        * config/tc-arm.c (my_get_expression): Detect missing expressions.
index b86aeda..5f8d447 100644 (file)
@@ -15257,6 +15257,15 @@ static const struct mips_cpu_info mips_cpu_info_table[] =
                                                ISA_MIPS32R2,   CPU_MIPS32R2 },
   { "74kx",           MIPS_CPU_ASE_DSP | MIPS_CPU_ASE_DSPR2,
                                                ISA_MIPS32R2,   CPU_MIPS32R2 },
+  /* 1004K cores are multiprocessor versions of the 34K.  */
+  { "1004kc",         MIPS_CPU_ASE_DSP | MIPS_CPU_ASE_MT,
+                                               ISA_MIPS32R2,   CPU_MIPS32R2 },
+  { "1004kf2_1",      MIPS_CPU_ASE_DSP | MIPS_CPU_ASE_MT,
+                                               ISA_MIPS32R2,   CPU_MIPS32R2 },
+  { "1004kf",         MIPS_CPU_ASE_DSP | MIPS_CPU_ASE_MT,
+                                               ISA_MIPS32R2,   CPU_MIPS32R2 },
+  { "1004kf1_1",      MIPS_CPU_ASE_DSP | MIPS_CPU_ASE_MT,
+                                               ISA_MIPS32R2,   CPU_MIPS32R2 },
 
   /* MIPS 64 */
   { "5kc",            0,                       ISA_MIPS64,     CPU_MIPS64 },
index ae1eb1d..815de80 100644 (file)
@@ -272,6 +272,10 @@ m4kp,
 74kf,
 74kf1_1,
 74kf3_2,
+1004kc,
+1004kf2_1,
+1004kf,
+1004kf1_1,
 5kc,
 5kf,
 20kc,