This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] MIPS: M14K/c core support
- From: "Maciej W. Rozycki" <macro at codesourcery dot com>
- To: Richard Sandiford <rdsandiford at googlemail dot com>
- Cc: binutils at sourceware dot org, Chao-ying Fu <fu at mips dot com>, Rich Fuhler <rich at mips dot com>, David Lau <davidlau at mips dot com>, Kevin Mills <kevinm at mips dot com>, Ilie Garbacea <ilie at mips dot com>, Catherine Moore <clm at codesourcery dot com>, Nathan Sidwell <nathan at codesourcery dot com>, Joseph Myers <joseph at codesourcery dot com>
- Date: Wed, 3 Aug 2011 15:51:43 +0100 (BST)
- Subject: [PATCH] MIPS: M14K/c core support
Hi,
This change, split off from the original microMIPS submission, adds
support for the M14K and M14Kc cores. OK to apply?
gas/
2011-08-03 Chao-ying Fu <fu@mips.com>
Daniel Jacobowitz <dan@codesourcery.com>
* config/tc-mips.c (mips_cpu_info_table): Add "m14k" and
"m14kc".
* doc/c-mips.texi (MIPS architecture options): Add "m14k" and
"m14kc" to the list of -march options.
Maciej
binutils-m14k.diff
Index: binutils-fsf-trunk-quilt/gas/config/tc-mips.c
===================================================================
--- binutils-fsf-trunk-quilt.orig/gas/config/tc-mips.c 2011-08-03 01:17:48.000000000 +0100
+++ binutils-fsf-trunk-quilt/gas/config/tc-mips.c 2011-08-03 13:58:48.000000000 +0100
@@ -18954,6 +18954,8 @@ static const struct mips_cpu_info mips_c
{ "4ksd", MIPS_CPU_ASE_SMARTMIPS, ISA_MIPS32R2, CPU_MIPS32R2 },
{ "m4k", 0, ISA_MIPS32R2, CPU_MIPS32R2 },
{ "m4kp", 0, ISA_MIPS32R2, CPU_MIPS32R2 },
+ { "m14k", MIPS_CPU_ASE_MCU, ISA_MIPS32R2, CPU_MIPS32R2 },
+ { "m14kc", 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-08-03 01:17:48.000000000 +0100
+++ binutils-fsf-trunk-quilt/gas/doc/c-mips.texi 2011-08-03 13:58:48.000000000 +0100
@@ -288,6 +288,8 @@ rm9000,
4ksd,
m4k,
m4kp,
+m14k,
+m14kc,
24kc,
24kf2_1,
24kf,