Sandra Loosemore | 1 Aug 2012 06:17

[PATCH, MIPS] Add 34Kn cpu

This patch makes GCC 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 have posted the corresponding assembler patch here:
http://sourceware.org/ml/binutils/2012-08/msg00008.html

-Sandra

2012-08-01  Catherine Moore  <clm <at> codesourcery.com>
	    Sandra Loosemore  <sandra <at> codesourcery.com>

	gcc/
	* config/mips/mips-cpus.def (34kn): New.
	* config/mips/mips.h (MIPS_ARCH_FLOAT_SPEC): Add 34kn.
	(BASE_DRIVER_SELF_SPECS): Do not imply -mdsp for the 34kn.
Attachment (gcc-34kn.patch): text/x-patch, 1552 bytes
Richard Sandiford | 1 Aug 2012 20:07

Re: [PATCH, MIPS] Add 34Kn cpu

Sandra Loosemore <sandra <at> codesourcery.com> writes:
> This patch makes GCC 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 have posted the corresponding assembler patch here:
> http://sourceware.org/ml/binutils/2012-08/msg00008.html
>
> -Sandra
>
>
> 2012-08-01  Catherine Moore  <clm <at> codesourcery.com>
> 	    Sandra Loosemore  <sandra <at> codesourcery.com>
>
> 	gcc/
> 	* config/mips/mips-cpus.def (34kn): New.
> 	* config/mips/mips.h (MIPS_ARCH_FLOAT_SPEC): Add 34kn.
> 	(BASE_DRIVER_SELF_SPECS): Do not imply -mdsp for the 34kn.

Needs adding to invoke.texi too.  OK with that change, thanks.

Richard

Gerald Pfeifer | 4 Aug 2012 23:01

Re: [PATCH, MIPS] Add 34Kn cpu

On Wed, 1 Aug 2012, Richard Sandiford wrote:
>> 2012-08-01  Catherine Moore  <clm <at> codesourcery.com>
>> 	    Sandra Loosemore  <sandra <at> codesourcery.com>
>>
>> 	gcc/
>> 	* config/mips/mips-cpus.def (34kn): New.
>> 	* config/mips/mips.h (MIPS_ARCH_FLOAT_SPEC): Add 34kn.
>> 	(BASE_DRIVER_SELF_SPECS): Do not imply -mdsp for the 34kn.
> Needs adding to invoke.texi too.  OK with that change, thanks.

And http://gcc.gnu.org/gcc-4.8/changes.html :-)

Gerald

Sandra Loosemore | 4 Aug 2012 23:36

Re: [PATCH, MIPS] Add 34Kn cpu

On 08/04/2012 03:01 PM, Gerald Pfeifer wrote:
> On Wed, 1 Aug 2012, Richard Sandiford wrote:
>>> 2012-08-01  Catherine Moore<clm <at> codesourcery.com>
>>> 	Sandra Loosemore<sandra <at> codesourcery.com>
>>>
>>> 	gcc/
>>> 	* config/mips/mips-cpus.def (34kn): New.
>>> 	* config/mips/mips.h (MIPS_ARCH_FLOAT_SPEC): Add 34kn.
>>> 	(BASE_DRIVER_SELF_SPECS): Do not imply -mdsp for the 34kn.
>> Needs adding to invoke.texi too.  OK with that change, thanks.
>
> And http://gcc.gnu.org/gcc-4.8/changes.html :-)

Eh, this is pretty trivial compared to some of the other MIPS 
improvements that are either recently committed or in the pipeline -- 
specifically, the microMIPS support Catherine is working on, and the 
recently-committed Netlogic XLP patch.  We also have a batch of MIPS16 
improvements that have not been submitted yet, including the missing 
TLS/PIC bits to make MIPS16 work with Linux.  (I can't claim to be 
responsible for any of this good stuff myself, though; I'm just helping 
with whacking at some smaller patches in our backlog while I'm between 
other projects.)

-Sandra

Gerald Pfeifer | 13 Aug 2012 01:20

Re: [PATCH, MIPS] Add 34Kn cpu

On Sat, 4 Aug 2012, Sandra Loosemore wrote:
>> And http://gcc.gnu.org/gcc-4.8/changes.html :-)
> Eh, this is pretty trivial compared to some of the other MIPS 
> improvements that are either recently committed or in the pipeline -- 
> specifically, the microMIPS support Catherine is working on, and the 
> recently-committed Netlogic XLP patch.

Well, my hope is that you'll document these as well. ;-)  Let me
know if there is anything I can help with.

> (I can't claim to be responsible for any of this good stuff myself, 
> though; I'm just helping with whacking at some smaller patches in
> our backlog while I'm between other projects.)

That's cool!  Happy whacking.

Gerald


Gmane