Re: [PATCH, rs6000] PR71800, use correct constraint for stxsiwx

2016-07-08 Thread Segher Boessenkool
On Fri, Jul 08, 2016 at 12:43:35AM -0500, Segher Boessenkool wrote: > On Thu, Jul 07, 2016 at 03:42:55PM -0500, Pat Haugen wrote: > > The following patch corrects the constraint so that we only generate > > 'stxsiwx' on Power8 or later hardware. Ok for trunk after successful > > bootstrap/regtest

Re: [PATCH, rs6000] PR71800, use correct constraint for stxsiwx

2016-07-07 Thread Segher Boessenkool
Hi Pat, On Thu, Jul 07, 2016 at 03:42:55PM -0500, Pat Haugen wrote: > The following patch corrects the constraint so that we only generate > 'stxsiwx' on Power8 or later hardware. Ok for trunk after successful > bootstrap/regtest? I don't really understand this. Before, it required UPPER_REGS_

[PATCH, rs6000] PR71800, use correct constraint for stxsiwx

2016-07-07 Thread Pat Haugen
The following patch corrects the constraint so that we only generate 'stxsiwx' on Power8 or later hardware. Ok for trunk after successful bootstrap/regtest? -Pat 2016-07-07 Pat Haugen PR target/71800 * config/rs6000/rs6000.md (stfiwx): Change constraint to 'wu' to p