Re: [PATCH, rs6000] (v2) GIMPLE folding for vector compares

2017-11-15 Thread Segher Boessenkool
Hi Will, On Tue, Nov 14, 2017 at 04:11:34PM -0600, Will Schmidt wrote: > Add support for gimple folding of vec_cmp_{eq,ge,gt,le,ne} > for the integer data types. The code looks fine, just some typographical stuff: > * config/rs6000/vsx.md (vcmpneb, vcmpneh, vcmpnew): Update to specify >

Re: [PATCH, rs6000] (v2) GIMPLE folding for vector compares

2017-11-15 Thread Richard Biener
On Tue, Nov 14, 2017 at 11:11 PM, Will Schmidt wrote: > > Hi, > Add support for gimple folding of vec_cmp_{eq,ge,gt,le,ne} > for the integer data types. > > As part of this change, several define_insn stanzas have been added/updated > in vsx.md that specify the "ne: -> not: + eq: " combinations

[PATCH, rs6000] (v2) GIMPLE folding for vector compares

2017-11-14 Thread Will Schmidt
Hi, Add support for gimple folding of vec_cmp_{eq,ge,gt,le,ne} for the integer data types. As part of this change, several define_insn stanzas have been added/updated in vsx.md that specify the "ne: -> not: + eq: " combinations to allow for the generation of the desired vcmpne[bhw] ins