* [PATCH] MIPS: M14K/c support
@ 2010-07-26 10:58 Maciej W. Rozycki
0 siblings, 0 replies; 2+ messages in thread
From: Maciej W. Rozycki @ 2010-07-26 10:58 UTC (permalink / raw)
To: Richard Sandiford
Cc: binutils, Chao-ying Fu, Rich Fuhler, David Lau, Kevin Mills,
Catherine Moore, Daniel Jacobowitz, Nathan Sidwell
Hi,
This change adds support for the M14K and M14Kc cores on top of the MCU
ASE.
Regression-tested succesfully with mips-sde-elf and mips-linux-gnu
targets.
gas/
2010-07-26 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-fsf-2.20.51-20100726-m14k-1.patch
Index: binutils-fsf-trunk-quilt/gas/config/tc-mips.c
===================================================================
--- binutils-fsf-trunk-quilt.orig/gas/config/tc-mips.c 2010-07-26 02:37:09.000000000 +0100
+++ binutils-fsf-trunk-quilt/gas/config/tc-mips.c 2010-07-26 02:37:54.000000000 +0100
@@ -17069,6 +17069,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-07-26 02:37:09.000000000 +0100
+++ binutils-fsf-trunk-quilt/gas/doc/c-mips.texi 2010-07-26 02:37:54.000000000 +0100
@@ -282,6 +282,8 @@ rm9000,
4ksd,
m4k,
m4kp,
+m14k,
+m14kc,
24kc,
24kf2_1,
24kf,
^ permalink raw reply [flat|nested] 2+ messages in thread
* [PATCH] MIPS: M14K/c support
@ 2010-12-07 22:06 Maciej W. Rozycki
0 siblings, 0 replies; 2+ messages in thread
From: Maciej W. Rozycki @ 2010-12-07 22:06 UTC (permalink / raw)
To: Richard Sandiford
Cc: binutils, Chao-ying Fu, Rich Fuhler, David Lau, Kevin Mills,
Daniel Jacobowitz, Catherine Moore, Nathan Sidwell
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,
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2010-12-07 22:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-07-26 10:58 [PATCH] MIPS: M14K/c support Maciej W. Rozycki
2010-12-07 22:06 Maciej W. Rozycki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).