fold-vec-abs-short-fwrap.c: Add xxspltib to scan-asembler valid instructions list.
authorWill Schmidt <will_schmidt@vnet.ibm.com>
Mon, 22 Jan 2018 14:49:57 +0000 (14:49 +0000)
committerWill Schmidt <willschm@gcc.gnu.org>
Mon, 22 Jan 2018 14:49:57 +0000 (14:49 +0000)
[testsuite]

2018-01-19  Will Schmidt <will_schmidt@vnet.ibm.com>

* gcc.target/powerpc/fold-vec-abs-short-fwrap.c: Add xxspltib to
scan-asembler valid instructions list.
* gcc.target/powerpc/fold-vec-abs-short.c: Same.
* gcc.target/powerpc/fold-vec-shift-left-longlong.c: Clean up
power8-vector requirement and option.
* gcc.target/powerpc/fold-vec-shift-left-fwrapv.c: Same.

From-SVN: r256947

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/powerpc/fold-vec-abs-short-fwrapv.c
gcc/testsuite/gcc.target/powerpc/fold-vec-abs-short.c
gcc/testsuite/gcc.target/powerpc/fold-vec-shift-left-longlong-fwrapv.c
gcc/testsuite/gcc.target/powerpc/fold-vec-shift-left-longlong.c

index 512bf5128b3a2f5b3be4c487a7785a7c8b69ae1c..3fd258e43d0f220506ee49a5e48be66a07a7cdc8 100644 (file)
@@ -1,3 +1,12 @@
+2018-01-22  Will Schmidt <will_schmidt@vnet.ibm.com>
+
+       * gcc.target/powerpc/fold-vec-abs-short-fwrap.c: Add xxspltib to
+       scan-asembler valid instructions list.
+       * gcc.target/powerpc/fold-vec-abs-short.c: Same.
+       * gcc.target/powerpc/fold-vec-shift-left-longlong.c: Clean up
+       power8-vector requirement and option.
+       * gcc.target/powerpc/fold-vec-shift-left-fwrapv.c: Same.
+
 2018-01-22  Janne Blomqvist  <jb@gcc.gnu.org>
 
        PR 78534
index 2562179af72ecebefbe46dacd4a05be74fd8488b..705bbe974291e4640d42a7d47aeb4d062e670913 100644 (file)
@@ -13,6 +13,6 @@ test3 (vector signed short x)
   return vec_abs (x);
 }
 
-/* { dg-final { scan-assembler-times "vspltisw|vxor" 1 } } */
+/* { dg-final { scan-assembler-times "vspltisw|xxspltib|vxor" 1 } } */
 /* { dg-final { scan-assembler-times "vsubuhm" 1 } } */
 /* { dg-final { scan-assembler-times "vmaxsh" 1 } } */
index d3120002b3320c2e9927856285ce76bc31f24ca4..0ad850f06b312229d6d8cdcfc0f7526ea2c037bf 100644 (file)
@@ -13,6 +13,6 @@ test3 (vector signed short x)
   return vec_abs (x);
 }
 
-/* { dg-final { scan-assembler-times "vspltisw|vxor" 1 } } */
+/* { dg-final { scan-assembler-times "vspltisw|xxspltib|vxor" 1 } } */
 /* { dg-final { scan-assembler-times "vsubuhm" 1 } } */
 /* { dg-final { scan-assembler-times "vmaxsh" 1 } } */
index b7766835ecda8fc9ba4ce90b7fc10be4cf4b4501..486426a4318f655c1bfc2ebded778f35010f4488 100644 (file)
@@ -2,8 +2,8 @@
 /* This test covers the shift left tests with the -fwrapv option. */
 
 /* { dg-do compile } */
-/* { dg-require-effective-target powerpc_altivec_ok } */
-/* { dg-options "-maltivec -O2 -mpower8-vector -fwrapv" } */
+/* { dg-require-effective-target powerpc_p8vector_ok } */
+/* { dg-options "-mpower8-vector -O2 -fwrapv" } */
 
 #include <altivec.h>
 
index f040486bf56d795ee7df2bf5ef2cb7e7186c908d..4116dbc5fdb8ec04fbc559a9b4e6ffabc6affad5 100644 (file)
@@ -2,8 +2,8 @@
  * This is a counterpart to the fold-vec-shift-left-frwapv test.  */
 
 /* { dg-do compile } */
-/* { dg-require-effective-target powerpc_altivec_ok } */
-/* { dg-options "-maltivec -mpower8-vector -O2" } */
+/* { dg-require-effective-target powerpc_p8vector_ok } */
+/* { dg-options "-mpower8-vector -O2" } */
 
 #include <altivec.h>