Re: [PATCH rs6000] Fix PR79907

2017-03-10 Thread Pat Haugen
On 03/09/2017 04:26 PM, Segher Boessenkool wrote: > That looks correct. Okay for trunk, thanks! Does it need backporting > as well? The -mupper-regs-di support is new in GCC 7 and I verified the testcase compiles fine with GCC 5/6, so no backporting necessary. -Pat

Re: [PATCH rs6000] Fix PR79907

2017-03-09 Thread Segher Boessenkool
On Wed, Mar 08, 2017 at 04:29:59PM -0600, Pat Haugen wrote: > The following patch fixes an "insn does not match its constraints" ICE > that occurred when copying a VR reg to a GPR when -mno-upper-regs-df is > in effect. The regclass used for the wi/wj constraints was being > incorrectly based on TA

[PATCH rs6000] Fix PR79907

2017-03-08 Thread Pat Haugen
The following patch fixes an "insn does not match its constraints" ICE that occurred when copying a VR reg to a GPR when -mno-upper-regs-df is in effect. The regclass used for the wi/wj constraints was being incorrectly based on TARGET_UPPER_REGS_DF instead of TARGET_UPPER_REGS_DI. This patch fixes