From 9554d206df4b17c420ce8d75729c9ae376c96b51 Mon Sep 17 00:00:00 2001 From: Bill Schmidt Date: Tue, 4 Aug 2015 14:09:23 +0000 Subject: [PATCH] vec-cmp-sel.c: Avoid test failure on machines without VSX an Power8 vector support. 2015-08-04 Bill Schmidt * gcc.target/powerpc/vec-cmp-sel.c: Avoid test failure on machines without VSX an Power8 vector support. From-SVN: r226578 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/gcc.target/powerpc/vec-cmp-sel.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index dc1262fdfbe..adce7ea4f1e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-08-04 Bill Schmidt + + * gcc.target/powerpc/vec-cmp-sel.c: Avoid test failure on machines + without VSX an Power8 vector support. + 2015-08-04 Richard Biener * gcc.dg/tree-ssa/ssa-ccp-38.c: New testcase. diff --git a/gcc/testsuite/gcc.target/powerpc/vec-cmp-sel.c b/gcc/testsuite/gcc.target/powerpc/vec-cmp-sel.c index 2888216940e..6f3c0937ba4 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-cmp-sel.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-cmp-sel.c @@ -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" } } */ -- 2.30.2