Re: [PATCH] PowerPC address support clean, patch 3 of 4

2018-05-10 Thread Michael Meissner
On Thu, May 10, 2018 at 05:20:52PM -0500, Segher Boessenkool wrote: > On Thu, May 10, 2018 at 05:49:12PM -0400, Michael Meissner wrote: > > > > -/* Return true if we have D-form addressing in altivec registers. */ > > > > +/* Return true if we have D-form addressing (register+offset) in > > > > e

Re: [PATCH] PowerPC address support clean, patch 3 of 4

2018-05-10 Thread Segher Boessenkool
On Thu, May 10, 2018 at 05:49:12PM -0400, Michael Meissner wrote: > > > -/* Return true if we have D-form addressing in altivec registers. */ > > > +/* Return true if we have D-form addressing (register+offset) in either a > > > + specific reload register class or whether some reload register cl

Re: [PATCH] PowerPC address support clean, patch 3 of 4

2018-05-10 Thread Michael Meissner
On Wed, May 09, 2018 at 06:14:27PM -0500, Segher Boessenkool wrote: > On Thu, May 03, 2018 at 01:22:10PM -0400, Michael Meissner wrote: > > 2018-05-03 Michael Meissner > > > > * config/rs6000/rs6000.c (mode_supports_d_form): Rename > > mode_supports_vmx_dform to mode_supports_d_form. A

Re: [PATCH] PowerPC address support clean, patch 3 of 4

2018-05-09 Thread Segher Boessenkool
On Thu, May 03, 2018 at 01:22:10PM -0400, Michael Meissner wrote: > 2018-05-03 Michael Meissner > > * config/rs6000/rs6000.c (mode_supports_d_form): Rename > mode_supports_vmx_dform to mode_supports_d_form. Add an optional > argument to say which reload register class to use.

Re: [PATCH] PowerPC address support clean, patch 3 of 4

2018-05-03 Thread Michael Meissner
These patches were previously posted in March as a RFC, and I would like to check them into the trunk. These patches make the mode_supports* functions use similar names for the functions that return if a mode supports D-FORM, DS-FORM, and/or DQ-FORM instructions, and add the ability to ask whether