Re: [PATCH], Add PowerPC ISA 3.0 vector d-form addressing

2016-05-10 Thread Segher Boessenkool
On Tue, May 10, 2016 at 11:52:36PM -0400, Michael Meissner wrote: > > > Is this patch acceptable to be checked into the trunk? > > > > You forgot to attach the patch. > > Whoops, sorry about that. > > [gcc] > 2016-05-10 Michael Meissner > > * config/rs6000/predicates.md (quad_memory_op

Re: [PATCH], Add PowerPC ISA 3.0 vector d-form addressing

2016-05-10 Thread Michael Meissner
On Tue, May 10, 2016 at 07:06:48PM -0500, Segher Boessenkool wrote: > On Tue, May 10, 2016 at 06:39:56PM -0400, Michael Meissner wrote: > > In the last email exchange, you did not say whether the patch was acceptible > > for inclusion. I added documentation for -mlra, since you did mention it > >

Re: [PATCH], Add PowerPC ISA 3.0 vector d-form addressing

2016-05-10 Thread Segher Boessenkool
On Tue, May 10, 2016 at 06:39:56PM -0400, Michael Meissner wrote: > In the last email exchange, you did not say whether the patch was acceptible > for inclusion. I added documentation for -mlra, since you did mention it > should > be documented. I tweaked the -mdebug=reg output so that it always p

Re: [PATCH], Add PowerPC ISA 3.0 vector d-form addressing

2016-05-10 Thread Michael Meissner
In the last email exchange, you did not say whether the patch was acceptible for inclusion. I added documentation for -mlra, since you did mention it should be documented. I tweaked the -mdebug=reg output so that it always prints if LRA was used or not (previously, it only printed if LRA was true).

Re: [PATCH], Add PowerPC ISA 3.0 vector d-form addressing

2016-05-09 Thread Michael Meissner
On Mon, May 09, 2016 at 08:11:54AM -0500, Segher Boessenkool wrote: > Hi Mike, > > On Thu, May 05, 2016 at 02:05:19PM -0400, Michael Meissner wrote: > > > > With this patch, I enable -mlra if the user did not specify either > > > > -mlra or > > > > -mno-lra on the command line, and -mcpu=power9 o

Re: [PATCH], Add PowerPC ISA 3.0 vector d-form addressing

2016-05-09 Thread Segher Boessenkool
Hi Mike, On Thu, May 05, 2016 at 02:05:19PM -0400, Michael Meissner wrote: > > > With this patch, I enable -mlra if the user did not specify either -mlra > > > or > > > -mno-lra on the command line, and -mcpu=power9 or -mpower9-dform-vector > > > were > > > used. I also enabled -mvsx-timode if L

Re: [PATCH], Add PowerPC ISA 3.0 vector d-form addressing

2016-05-05 Thread Michael Meissner
On Wed, May 04, 2016 at 11:16:52AM -0500, Segher Boessenkool wrote: > Hi Mike, > > On Tue, May 03, 2016 at 06:39:55PM -0400, Michael Meissner wrote: > > With this patch, I enable -mlra if the user did not specify either -mlra or > > -mno-lra on the command line, and -mcpu=power9 or -mpower9-dform-

Re: [PATCH], Add PowerPC ISA 3.0 vector d-form addressing

2016-05-04 Thread Segher Boessenkool
Hi Mike, On Tue, May 03, 2016 at 06:39:55PM -0400, Michael Meissner wrote: > With this patch, I enable -mlra if the user did not specify either -mlra or > -mno-lra on the command line, and -mcpu=power9 or -mpower9-dform-vector were > used. I also enabled -mvsx-timode if LRA was used, which also is

[PATCH], Add PowerPC ISA 3.0 vector d-form addressing

2016-05-03 Thread Michael Meissner
This patch implements the new instructions added in ISA 3.0 (power9) to allow d-form (register + offset) memory loads and stores to/from vector registers. I split the previous -mpower9-dform switch to -mpower9-dform-vector and -mpower9-dform-scalar in case you need to disable one or both forms. T