Hi Carl, On Fri, May 05, 2017 at 02:22:14PM -0700, Carl E. Love wrote: > This patch adds support for the various vec_neg() builtins. > > The patch has been tested on powerpc64le-unknown-linux-gnu (Power 8 LE) > with no regressions. > > Is the patch OK for gcc mainline?
Yes please, thanks! Segher > 2017-04-05 Carl Love <c...@us.ibm.com> > > * config/rs6000/rs6000-c: Add support for built-in functions > vector signed char vec_neg (vector signed char) > vector signed short int vec_neg (vector short int) > vector signed int vec_neg (vector signed int) > vector signed long long vec_neg (vector signed long long) > vector float vec_neg (vector float) > vector double vec_neg (vector double) > * config/rs6000/rs6000-builtin.def: Add definitions for NEG function > overload. > * config/rs6000/altivec.h: Add define for vec_neg > * doc/extend.texi: Update the built-in documentation for the > new built-in functions. > > gcc/testsuite/ChangeLog: > > 2017-04-05 Carl Love <c...@us.ibm.com> > * gcc.target/powerpc/builtins-3.c: Add tests for the new built-ins to > to the test suite file. > * gcc.target/powerpc/builtins-3-p8.c: Add tests for the new built-ins to > to the test suite file.