vec-cmp-sel.c: Avoid test failure on machines without VSX an Power8 vector support.

2015-08-04  Bill Schmidt  <wschmidt@vnet.linux.ibm.com>

	* gcc.target/powerpc/vec-cmp-sel.c: Avoid test failure on machines
	without VSX an Power8 vector support.

From-SVN: r226578
This commit is contained in:
Bill Schmidt 2015-08-04 14:09:23 +00:00 committed by William Schmidt
parent c8136c3648
commit 9554d206df
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-08-04 Bill Schmidt <wschmidt@vnet.linux.ibm.com>
* gcc.target/powerpc/vec-cmp-sel.c: Avoid test failure on machines
without VSX an Power8 vector support.
2015-08-04 Richard Biener <rguenther@suse.de>
* gcc.dg/tree-ssa/ssa-ccp-38.c: New testcase.

View File

@ -1,6 +1,7 @@
/* { dg-do compile { target powerpc64*-*-* } } */
/* { dg-require-effective-target powerpc_p8vector_ok } */
/* { dg-options "-maltivec -O2" } */
/* { dg-require-effective-target powerpc_vsx_ok } */
/* { dg-options "-maltivec -O2 -mvsx -mpower8-vector" } */
/* { dg-final { scan-assembler "vcmpgtsd" } } */
/* { dg-final { scan-assembler-not "xxlnor" } } */