From: Will Schmidt Date: Thu, 30 Nov 2017 14:38:33 +0000 (+0000) Subject: fold-vec-abs-char-fwrapv.c: Add xxspltib insn to expected output. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e47b37ca827cd694e17b8688205cb889751b528d;p=gcc.git fold-vec-abs-char-fwrapv.c: Add xxspltib insn to expected output. [testsuite] 2017-11-29 Will Schmidt * gcc.target/powerpc/fold-vec-abs-char-fwrapv.c: Add xxspltib insn to expected output. * gcc.target/powerpc/fold-vec-abs-char.c: Add xxspltib insn to expected output. From-SVN: r255272 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index bda1bf5560d..d1425a5bcf5 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,10 @@ +2017-11-30 Will Schmidt + + * gcc.target/powerpc/fold-vec-abs-char-fwrapv.c: Add xxspltib insn + to expected output. + * gcc.target/powerpc/fold-vec-abs-char.c: Add xxspltib insn + to expected output. + 2017-11-30 Jakub Jelinek PR target/83210 diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char-fwrapv.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char-fwrapv.c index 739f06e0fe5..8b9887dd161 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char-fwrapv.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char-fwrapv.c @@ -1,5 +1,5 @@ /* Verify that overloaded built-ins for vec_abs with char - inputs produce the right results. */ + inputs produce the right code. */ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_altivec_ok } */ @@ -13,6 +13,6 @@ test2 (vector signed char x) return vec_abs (x); } -/* { dg-final { scan-assembler-times "vspltisw|vxor" 1 } } */ +/* { dg-final { scan-assembler-times "vspltisw|vxor|xxspltib" 1 } } */ /* { dg-final { scan-assembler-times "vsububm" 1 } } */ /* { dg-final { scan-assembler-times "vmaxsb" 1 } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char.c b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char.c index 239c9193464..1f303b8d5b7 100644 --- a/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char.c +++ b/gcc/testsuite/gcc.target/powerpc/fold-vec-abs-char.c @@ -1,5 +1,5 @@ /* Verify that overloaded built-ins for vec_abs with char - inputs produce the right results. */ + inputs produce the right code. */ /* { dg-do compile } */ /* { dg-require-effective-target powerpc_altivec_ok } */ @@ -13,6 +13,6 @@ test2 (vector signed char x) return vec_abs (x); } -/* { dg-final { scan-assembler-times "vspltisw|vxor" 1 } } */ +/* { dg-final { scan-assembler-times "vspltisw|vxor|xxspltib" 1 } } */ /* { dg-final { scan-assembler-times "vsububm" 1 } } */ /* { dg-final { scan-assembler-times "vmaxsb" 1 } } */