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 58564c64f5c6ddbda882f46b4411716ad084e83f..aea4619f89e3eb579aeaa8b76a92a75bf040c348 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 b86aedacdc6d17761c76f863772626933cf4a1c1..5f8d4473f9a552faea6a20a829fb91254364e5e2 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 ae1eb1d424c02ffab847b111534a39b9a6649d25..815de80ecef3ec8aa90dcc302818d2fca86e829e 100644 (file)
@@ -272,6 +272,10 @@ m4kp,
 74kf,
 74kf1_1,
 74kf3_2,
+1004kc,
+1004kf2_1,
+1004kf,
+1004kf1_1,
 5kc,
 5kf,
 20kc,