This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] MIPS/GAS: M14KE/c core support


Hi,

 This change adds support for the M14KE and M14KEc cores, the DSP 
variations of the M14K/c microMIPS processors.  OK to apply?

2011-10-27  Catherine Moore  <clm@codesourcery.com>
            Maciej W. Rozycki  <macro@codesourcery.com>

	gas/
	* config/tc-mips.c (mips_cpu_info_table): Add "m14ke" and 
	"m14kec".
	* doc/c-mips.texi (MIPS architecture options): Add "m14ke" and
	"m14kec" to the list of -march options.

  Maciej

binutils-gas-m14ke.diff
Index: binutils-fsf-trunk-quilt/gas/config/tc-mips.c
===================================================================
--- binutils-fsf-trunk-quilt.orig/gas/config/tc-mips.c	2011-10-27 20:58:10.000000000 +0100
+++ binutils-fsf-trunk-quilt/gas/config/tc-mips.c	2011-10-27 21:00:44.605866686 +0100
@@ -19028,6 +19028,10 @@ static const struct mips_cpu_info mips_c
   { "m4kp",           0,			ISA_MIPS32R2,   CPU_MIPS32R2 },
   { "m14k",           MIPS_CPU_ASE_MCU,		ISA_MIPS32R2,   CPU_MIPS32R2 },
   { "m14kc",          MIPS_CPU_ASE_MCU,		ISA_MIPS32R2,   CPU_MIPS32R2 },
+  { "m14ke",          MIPS_CPU_ASE_DSP | MIPS_CPU_ASE_DSPR2 | MIPS_CPU_ASE_MCU,
+						ISA_MIPS32R2,   CPU_MIPS32R2 },
+  { "m14kec",         MIPS_CPU_ASE_DSP | MIPS_CPU_ASE_DSPR2 | MIPS_CPU_ASE_MCU,
+						ISA_MIPS32R2,   CPU_MIPS32R2 },
   { "24kc",           0,			ISA_MIPS32R2,   CPU_MIPS32R2 },
   { "24kf2_1",        0,			ISA_MIPS32R2,   CPU_MIPS32R2 },
   { "24kf",           0,			ISA_MIPS32R2,   CPU_MIPS32R2 },
Index: binutils-fsf-trunk-quilt/gas/doc/c-mips.texi
===================================================================
--- binutils-fsf-trunk-quilt.orig/gas/doc/c-mips.texi	2011-10-27 20:55:27.000000000 +0100
+++ binutils-fsf-trunk-quilt/gas/doc/c-mips.texi	2011-10-27 20:58:10.105865018 +0100
@@ -290,6 +290,8 @@ m4k,
 m4kp,
 m14k,
 m14kc,
+m14ke,
+m14kec,
 24kc,
 24kf2_1,
 24kf,


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]