This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] MIPS: M14K/c 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>, Daniel Jacobowitz <dan at codesourcery dot com>, Catherine Moore <clm at codesourcery dot com>, Nathan Sidwell <nathan at codesourcery dot com>
- Date: Tue, 7 Dec 2010 22:05:47 +0000 (GMT)
- Subject: [PATCH] MIPS: M14K/c support
Hi Richard,
Here's a change to support the M14K and M14Kc cores, as split off from
the original microMIPS diff. I made no further changes to this patch.
It applies on top of the MCU ASE change. Tested as usually, with
mips-sde-elf and mips-linux-gnu.
gas/
2010-12-07 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 2010-12-07 20:59:46.000000000 +0000
+++ binutils-fsf-trunk-quilt/gas/config/tc-mips.c 2010-12-07 20:59:46.000000000 +0000
@@ -18796,6 +18796,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 2010-12-07 20:59:46.000000000 +0000
+++ binutils-fsf-trunk-quilt/gas/doc/c-mips.texi 2010-12-07 20:59:46.000000000 +0000
@@ -287,6 +287,8 @@ rm9000,
4ksd,
m4k,
m4kp,
+m14k,
+m14kc,
24kc,
24kf2_1,
24kf,