Hi, uh, Will, On Mon, Dec 19, 2016 at 11:01:08AM -0600, Will Schmidt wrote: > This patch implements folding of the vector subtract built-ins. This > follows the form used by Bill in his previous "Fold vector addition > built-ins in GIMPLE" patch. :-) > > Bootstrapped and tested on powerpc64le-unknown-linux-gnu with no > regressions. Is this ok for trunk?
This looks fine. Yes, okay for trunk. Thanks, Segher > 2016-12-19 Will Schmidt <will_schm...@vnet.ibm.com> > > * config/rs6000/rs6000.c (rs6000_gimple_fold_builtin): Add handling > for > early expansion of vector subtract builtins. > > [gcc/testsuite] > > 2016-12-19 Will Schmidt <will_schm...@vnet.ibm.com> > > * gcc.target/powerpc/fold-vec-sub-char.c: New. > * gcc.target/powerpc/fold-vec-sub-float.c: New. > * gcc.target/powerpc/fold-vec-sub-floatdouble.c: New. > * gcc.target/powerpc/fold-vec-sub-int.c: New. > * gcc.target/powerpc/fold-vec-sub-int128.c: New. > * gcc.target/powerpc/fold-vec-sub-longlong.c: New. > * gcc.target/powerpc/fold-vec-sub-short.c: New.