Re: [PATCH, rs6000] Testcase coverage for vec_splats

2017-10-09 Thread Segher Boessenkool
Hi Will, On Mon, Oct 09, 2017 at 03:15:56PM -0500, Will Schmidt wrote: > +/* { dg-final { scan-assembler-times "xscvdpspn|xscvdpsp" 1 } } */ > +/* { dg-final { scan-assembler-times "vspltw|xxspltw" 1 } } */ The second of these (xscvdpsp) will match whenever the first (xscvdpspn) does. Maybe you

[PATCH, rs6000] Testcase coverage for vec_splats

2017-10-09 Thread Will Schmidt
[PATCH, rs6000] Testcase coverage for vec_splats Add testcase coverage for bec_splat built-ins. Tested across power6 and newer. OK for trunk? Thanks, -Will [testsuite] * gcc.target/powerpc/fold-vec-splats-char.c: New. * gcc.target/powerpc/fold-vec-splats-floatdouble.c