diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 8adb64f75ed..280f9e4c233 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,12 @@ +2017-02-14 Segher Boessenkool + + * gcc.target/powerpc/vec-adde-int128.c: Only run if int128 exists. + * gcc.target/powerpc/vec-addec-int128.c: Ditto. + * gcc.target/powerpc/vec-adde.c: Require vsx_hw, don't require a + 64-bit default target. + * gcc.target/powerpc/vec-addec.c: Require p8vector_hw, don't require + a 64-bit default target. + 2017-02-14 Jakub Jelinek PR target/79481 diff --git a/gcc/testsuite/gcc.target/powerpc/vec-adde-int128.c b/gcc/testsuite/gcc.target/powerpc/vec-adde-int128.c index 8eed7f58f92..03e89dfd9d7 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-adde-int128.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-adde-int128.c @@ -1,4 +1,4 @@ -/* { dg-do run { target { powerpc*-*-* && p8vector_hw } } } */ +/* { dg-do run { target { powerpc*-*-* && { p8vector_hw && int128 } } } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vec-adde.c b/gcc/testsuite/gcc.target/powerpc/vec-adde.c index a235a1c987d..b6f87da5330 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-adde.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-adde.c @@ -1,5 +1,4 @@ -/* { dg-do run { target { powerpc64*-*-* } } } */ -/* { dg-require-effective-target powerpc_vsx_ok } */ +/* { dg-do run { target { powerpc*-*-* && vsx_hw } } } */ /* { dg-options "-mvsx -O3" } */ /* Test that the vec_adde builtin works as expected. */ diff --git a/gcc/testsuite/gcc.target/powerpc/vec-addec-int128.c b/gcc/testsuite/gcc.target/powerpc/vec-addec-int128.c index 4388e062582..3baa82ba953 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-addec-int128.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-addec-int128.c @@ -1,4 +1,4 @@ -/* { dg-do run { target { powerpc*-*-* && p8vector_hw } } } */ +/* { dg-do run { target { powerpc*-*-* && { p8vector_hw && int128 } } } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */ diff --git a/gcc/testsuite/gcc.target/powerpc/vec-addec.c b/gcc/testsuite/gcc.target/powerpc/vec-addec.c index 53bd41f4b91..330ec2371d7 100644 --- a/gcc/testsuite/gcc.target/powerpc/vec-addec.c +++ b/gcc/testsuite/gcc.target/powerpc/vec-addec.c @@ -1,5 +1,4 @@ -/* { dg-do run { target { powerpc64*-*-* } } } */ -/* { dg-require-effective-target powerpc_p8vector_ok } */ +/* { dg-do run { target { powerpc*-*-* && p8vector_hw } } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3" } */