Re: [PATCH] [MIPS] Add Octeon2 cpu support to GCC

2012-01-09 Thread Richard Sandiford
Gerald Pfeifer writes: > On Wed, 4 Jan 2012, Andrew Pinski wrote: >> Woops, I had missed that. Here is the patch which adds both octeon+ >> and octeon2 to that list. >> >> I committed as obvious after a build. > > You may want to update the release notes as well > (htdocs/gcc-4.7/changes.html).

Re: [PATCH] [MIPS] Add Octeon2 cpu support to GCC

2012-01-07 Thread Gerald Pfeifer
On Wed, 4 Jan 2012, Andrew Pinski wrote: > Woops, I had missed that. Here is the patch which adds both octeon+ > and octeon2 to that list. > > I committed as obvious after a build. You may want to update the release notes as well (htdocs/gcc-4.7/changes.html). Gerald

Re: [PATCH] [MIPS] Add Octeon2 cpu support to GCC

2012-01-04 Thread Andrew Pinski
On Fri, Dec 16, 2011 at 2:22 PM, Joseph S. Myers wrote: > On Mon, 12 Dec 2011, Andrew Pinski wrote: > >> * config/mips/mips-cpus.def: Add Octeon2. > > You need to update the documentation for MIPS -march= in invoke.texi, > which lists the supported CPUs. Woops, I had missed that. Here is the pat

Re: [PATCH] [MIPS] Add Octeon2 cpu support to GCC

2011-12-16 Thread Joseph S. Myers
On Mon, 12 Dec 2011, Andrew Pinski wrote: > * config/mips/mips-cpus.def: Add Octeon2. You need to update the documentation for MIPS -march= in invoke.texi, which lists the supported CPUs. -- Joseph S. Myers jos...@codesourcery.com

Re: [PATCH] [MIPS] Add Octeon2 cpu support to GCC

2011-12-13 Thread Andrew Pinski
On Tue, Dec 13, 2011 at 11:19 AM, Richard Sandiford wrote: > Andrew Pinski writes: >> +(define_insn_reservation "octeon_imul3_o2" 6 >> +  (and (eq_attr "cpu" "octeon2") >> +       (eq_attr "type" "imul3,pop,clz")) >> +  " octeon_pipe1 + octeon_mult") > > Excess space before ". > >> Index: config/

Re: [PATCH] [MIPS] Add Octeon2 cpu support to GCC

2011-12-13 Thread Richard Sandiford
Andrew Pinski writes: > +(define_insn_reservation "octeon_imul3_o2" 6 > + (and (eq_attr "cpu" "octeon2") > + (eq_attr "type" "imul3,pop,clz")) > + " octeon_pipe1 + octeon_mult") Excess space before ". > Index: config/mips/mips.h > =

[PATCH] [MIPS] Add Octeon2 cpu support to GCC

2011-12-12 Thread Andrew Pinski
Hi, This patch adds just octeon2 scheduling to GCC, it does not add support for using the indexed based loads (which I am going to submit separate). OK? Bootstrapped and tested on mips64-linux-gnu (also tested with -march=octeon2). gcc/ChangeLog: * config/mips/mips-cpus.def: Add Octeon2. * conf