Re: [PATCH, rs6000] Testcase updates for power9 codegen

2017-11-23 Thread Segher Boessenkool
On Mon, Nov 20, 2017 at 02:16:59PM -0600, Will Schmidt wrote: > > > --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-int-fwrapv.c > > > +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-int-fwrapv.c > > > @@ -1,11 +1,11 @@ > > > /* Verify that overloaded built-ins for vec_abs with int > > >

Re: [PATCH, rs6000] Testcase updates for power9 codegen

2017-11-20 Thread Will Schmidt
On Mon, 2017-11-20 at 11:23 -0600, Segher Boessenkool wrote: > Hi! > > On Fri, Nov 17, 2017 at 11:30:27AM -0600, Will Schmidt wrote: > > [testsuite] > > * fold-vec-neg-int.c: Specify -mcpu=power8 > > Dot at end of sentence (quite a few times), please. > > > -/* { dg-final { scan-assembler-ti

Re: [PATCH, rs6000] Testcase updates for power9 codegen

2017-11-20 Thread Segher Boessenkool
Hi! On Fri, Nov 17, 2017 at 11:30:27AM -0600, Will Schmidt wrote: > [testsuite] > * fold-vec-neg-int.c: Specify -mcpu=power8 Dot at end of sentence (quite a few times), please. > -/* { dg-final { scan-assembler-times "vspltisw|vxor" 1 } } */ > +//# Power9 added xxspltib instruction. > +/*

[PATCH, rs6000] Testcase updates for power9 codegen

2017-11-17 Thread Will Schmidt
Hi Assorted testcase updates to reflect codegen differences on Power9 versus Power8 and earlier systems. Tested on P9, this is expected to clean up the majority of the currently failing tests on that system. OK for trunk? Thanks -Will 2017-11-17 Will Schmidt [testsuite] * f