Re: [PATCH], Add PowerPC ISA 3.0 min/max support

2016-05-26 Thread Michael Meissner
On Thu, May 26, 2016 at 03:59:43PM -0500, Segher Boessenkool wrote: > On Thu, May 26, 2016 at 01:04:59PM -0400, Michael Meissner wrote: > > * config/rs6000/rs6000.md (SFDF2): New iterator to allow doing > > conditional moves there the comparison type is different from move > > type. >

Re: [PATCH], Add PowerPC ISA 3.0 min/max support

2016-05-26 Thread Segher Boessenkool
On Thu, May 26, 2016 at 01:04:59PM -0400, Michael Meissner wrote: > * config/rs6000/rs6000.md (SFDF2): New iterator to allow doing > conditional moves there the comparison type is different from move > type. s/there/where/ ? > Don't forget to delete this line ;-) > +/*

Re: [PATCH], Add PowerPC ISA 3.0 min/max support

2016-05-26 Thread Michael Meissner
On Mon, May 09, 2016 at 09:31:43AM -0500, Segher Boessenkool wrote: > On Thu, May 05, 2016 at 03:18:39PM -0400, Michael Meissner wrote: > > At the present time, the code does not support comparisons involving >= and > > <= > > unless the -ffast-math option is used. I hope eventually to support >

Re: [PATCH], Add PowerPC ISA 3.0 min/max support

2016-05-09 Thread Michael Meissner
On Mon, May 09, 2016 at 09:31:43AM -0500, Segher Boessenkool wrote: > On Thu, May 05, 2016 at 03:18:39PM -0400, Michael Meissner wrote: > > At the present time, the code does not support comparisons involving >= and > > <= > > unless the -ffast-math option is used. I hope eventually to support >

Re: [PATCH], Add PowerPC ISA 3.0 min/max support

2016-05-09 Thread Segher Boessenkool
On Thu, May 05, 2016 at 03:18:39PM -0400, Michael Meissner wrote: > At the present time, the code does not support comparisons involving >= and <= > unless the -ffast-math option is used. I hope eventually to support generating > these instructions without having -ffast-math used. > > The

[PATCH], Add PowerPC ISA 3.0 min/max support

2016-05-05 Thread Michael Meissner
This patch was originally meant for GCC 6.x, but the stage3 submission window closed before I could submit this patch. This patch adds support for the new ISA 3.0 instructions for doing min, max, and comparison. Unlike the existing XSMINDP and XSMAXDP instructions, the new XSMINCDP and XSMAXCDP