Re: [PATCH], PR target/71186, Fix PowerPC splat error

2016-06-01 Thread Segher Boessenkool
On Tue, May 31, 2016 at 07:43:22PM -0400, Michael Meissner wrote: > [gcc] > 2016-05-31 Michael Meissner > > PR target/71186 > * config/rs6000/vsx.md (xxspltib__nosplit): Add alternatives > for loading up all 0's or all 1's. > > [gcc/testsuite] > 2016-05-31 Michael Meissner

[PATCH], PR target/71186, Fix PowerPC splat error

2016-05-31 Thread Michael Meissner
Anton Blanchard found that in some cases, setting V4SImode and V8HImode vector registers to all 0's or all 1's could cause the compiler issue an 'insn does not satisfy its constraints' error message. The reason was, 0/-1 treated specially, since we can generate them using normal ISA 2.06/2.07 inst