Re: [PATCH, rs6000] Add __builtin_altivec_vsumsws

2017-11-10 Thread Segher Boessenkool
Hi Carl, On Wed, Nov 08, 2017 at 01:21:46PM -0800, Carl Love wrote: > 2017-11-08 Carl Love > > * config/rs6000/rs6000-c.c (ALTIVEC_BUILTIN_VEC_SUMS): Add macro > expansion. This line is too long (79 or 80 chars). > +(define_expand "altivec_vsumsws_be" > + [(use (match_operand:V4SI 0

[PATCH, rs6000] Add __builtin_altivec_vsumsws

2017-11-08 Thread Carl Love
GCC Maintainers: The following patch add support for the builtin: vector signed int __builtin_altivec_vsumsws_be (vector signed int, vector signed int) The patch has been tested on powerpc64le-unknown-linux-gnu (Power 8 LE), powerpc64le-unknown-linux-gnu (Power 9 LE) without