From: Will Schmidt Date: Wed, 29 Nov 2017 19:58:29 +0000 (+0000) Subject: fold-vec-splat-8.c: Add vspltisb to expected output. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=faf08cc798fb014cb0da55c9f7218116c820da27;p=gcc.git fold-vec-splat-8.c: Add vspltisb to expected output. [testsuite] 2017-11-29 Will Schmidt * gcc.target/powerpc/fold-vec-splat-8.c: Add vspltisb to expected output. * gcc.target/powerpc/fold-vec-splats-int.c: Add mtvsrws to expected output. * gcc.target/powerpc/fold-vec-splats-longlong.c: Add mtvsrdd to expected output. From-SVN: r255251 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6186f0ca111..2619ff73197 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2017-11-29 Will Schmidt + + * gcc.target/powerpc/fold-vec-splat-8.c: Add vspltisb to expected + output. + * gcc.target/powerpc/fold-vec-splats-int.c: Add mtvsrws to expected + output. + * gcc.target/powerpc/fold-vec-splats-longlong.c: Add mtvsrdd to + expected output. + 2017-11-29 Julia Koval * gcc.target/i386/avx512f-vpshldv-1.c: New test. diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-splat-8.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-splat-8.c index 679fcb3bc5b..64d6320bbaf 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-splat-8.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-splat-8.c @@ -43,4 +43,4 @@ testuc_3 () return vec_splat_u8 (15); } -/* { dg-final { scan-assembler-times "vspltisb" 6 } } */ +/* { dg-final { scan-assembler-times "xxspltib|vspltisb" 6 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-splats-int.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-splats-int.c index 66715233bc7..01b95c5a0ec 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-splats-int.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-splats-int.c @@ -19,4 +19,4 @@ test3u (unsigned int x) return vec_splats (x); } -/* { dg-final { scan-assembler-times {\mvspltw\M|\mxxspltw\M} 2 } } */ +/* { dg-final { scan-assembler-times {\mvspltw\M|\mxxspltw\M|\mmtvsrws\M} 2 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-splats-longlong.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-splats-longlong.c index c5884ba88f4..2dbf48eca15 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-splats-longlong.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-splats-longlong.c @@ -19,4 +19,4 @@ test3u (unsigned long long x) return vec_splats (x); } -/* { dg-final { scan-assembler-times "xxpermdi" 2 } } */ +/* { dg-final { scan-assembler-times "xxpermdi|mtvsrdd" 2 } } */