RE: [MIPS,committed] Update MIPS P5600 processor definition to avoid IMADD

2016-05-16 Thread Matthew Fortune
Maciej Rozycki writes: > On Wed, 4 May 2016, Matthew Fortune wrote: > > > diff --git a/gcc/config/mips/mips-cpus.def > > b/gcc/config/mips/mips-cpus.def index 17034f2..5df9807 100644 > > --- a/gcc/config/mips/mips-cpus.def > > +++ b/gcc/config/mips/mips-cpus.def > > @@ -44,10 +44,7 @@ MIPS_CPU ("

Re: [MIPS,committed] Update MIPS P5600 processor definition to avoid IMADD

2016-05-04 Thread Maciej W. Rozycki
On Wed, 4 May 2016, Matthew Fortune wrote: > diff --git a/gcc/config/mips/mips-cpus.def b/gcc/config/mips/mips-cpus.def > index 17034f2..5df9807 100644 > --- a/gcc/config/mips/mips-cpus.def > +++ b/gcc/config/mips/mips-cpus.def > @@ -44,10 +44,7 @@ MIPS_CPU ("mips4", PROCESSOR_R1, 4, 0) >

[MIPS,committed] Update MIPS P5600 processor definition to avoid IMADD

2016-05-04 Thread Matthew Fortune
The P5600 processor has a penalty for using integer multiply-add similar to the 74k so mark it to avoid the instruction by default. Committed as r235873. Matthew gcc/ * config/mips/mips-cpus.def (p5600): Avoid IMADD by default. Clean up p5600 comments. --- gcc/ChangeLog