This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH, MIPS] Add 34Kn cpu
- From: Sandra Loosemore <sandra at codesourcery dot com>
- To: "binutils at sourceware dot org" <binutils at sourceware dot org>
- Date: Tue, 31 Jul 2012 22:14:49 -0600
- Subject: [PATCH, MIPS] Add 34Kn cpu
This patch makes the assembler know about -march=34kn. MIPS asked us to
add support for this processor to our local source base a couple of
years ago; it's basically a 34Kc without the DSP ASE. OK for mainline?
I'll be posting the corresponding GCC patch shortly.
-Sandra
2012-08-01 Catherine Moore <clm@codesourcery.com>
Sandra Loosemore <sandra@codesourcery.com>
gas/
* config/mips/tc-mips.c (mips_cpu_info): Add the 34kn.
Index: gas/config/tc-mips.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mips.c,v
retrieving revision 1.506
diff -u -p -r1.506 tc-mips.c
--- gas/config/tc-mips.c 22 May 2012 01:55:16 -0000 1.506
+++ gas/config/tc-mips.c 31 Jul 2012 01:26:44 -0000
@@ -19067,6 +19067,8 @@ static const struct mips_cpu_info mips_c
ISA_MIPS32R2, CPU_MIPS32R2 },
{ "34kx", MIPS_CPU_ASE_DSP | MIPS_CPU_ASE_MT,
ISA_MIPS32R2, CPU_MIPS32R2 },
+ /* 34Kn is a 34kc without DSP. */
+ { "34kn", MIPS_CPU_ASE_MT, ISA_MIPS32R2, CPU_MIPS32R2 },
/* 74K with DSP and DSPR2 ASE, other ASEs are optional. */
{ "74kc", MIPS_CPU_ASE_DSP | MIPS_CPU_ASE_DSPR2,
ISA_MIPS32R2, CPU_MIPS32R2 },