Re: [PATCH], PowerPC: Allow DImode in Altivec registers

2016-06-15 Thread Michael Meissner
On Wed, Jun 15, 2016 at 02:51:20PM -0500, Segher Boessenkool wrote: > On Wed, Jun 15, 2016 at 02:24:41PM -0400, Michael Meissner wrote: > > > > ; Some DImode loads are best done as a load of -1 followed by a mask > > > > ; instruction. > > > > (define_split > > > > - [(set (match_operand:DI 0

Re: [PATCH], PowerPC: Allow DImode in Altivec registers

2016-06-15 Thread Segher Boessenkool
On Wed, Jun 15, 2016 at 02:24:41PM -0400, Michael Meissner wrote: > > > ; Some DImode loads are best done as a load of -1 followed by a mask > > > ; instruction. > > > (define_split > > > - [(set (match_operand:DI 0 "gpc_reg_operand") > > > + [(set (match_operand:DI 0

Re: [PATCH], PowerPC: Allow DImode in Altivec registers

2016-06-15 Thread Michael Meissner
On Tue, Jun 14, 2016 at 05:53:46PM -0500, Segher Boessenkool wrote: > On Mon, Jun 13, 2016 at 02:29:41PM -0400, Michael Meissner wrote: > > It would help if I included the patch. > > :-) > > > > Are these changes ok to install in the trunk? Assuming they go in the > > > trunk, > > > can I

Re: [PATCH], PowerPC: Allow DImode in Altivec registers

2016-06-14 Thread Segher Boessenkool
On Mon, Jun 13, 2016 at 02:29:41PM -0400, Michael Meissner wrote: > It would help if I included the patch. :-) > > Are these changes ok to install in the trunk? Assuming they go in the > > trunk, > > can I install them in the 6.2 branch if they cause no regression? Okay for trunk. Okay for 6

Re: [PATCH], PowerPC: Allow DImode in Altivec registers

2016-06-13 Thread Michael Meissner
It would help if I included the patch. On Mon, Jun 13, 2016 at 01:28:16PM -0400, Michael Meissner wrote: > This patch goes through the PowerPC compiler and adds support to allow DImode > (64-bit integers) into Altivec registers for VSX systems. It also adds some > support to allow loading some

[PATCH], PowerPC: Allow DImode in Altivec registers

2016-06-13 Thread Michael Meissner
This patch goes through the PowerPC compiler and adds support to allow DImode (64-bit integers) into Altivec registers for VSX systems. It also adds some support to allow loading some DImode constants via either ISA 2.07 or ISA 3.0 instructions. I have bootstrapped this with no regressions on