From: Kelvin Nilsen Date: Fri, 29 Sep 2017 16:07:55 +0000 (+0000) Subject: swaps-p8-30.c: Exchange the order of dg-do and dg-require-effective-target directives... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a815fe44575d05c1aa427a93c3632e64bf8242f8;p=gcc.git swaps-p8-30.c: Exchange the order of dg-do and dg-require-effective-target directives to... gcc/testsuite/ChangeLog: 2017-09-29 Kelvin Nilsen * gcc.target/powerpc/swaps-p8-30.c: Exchange the order of dg-do and dg-require-effective-target directives to correct testing behavior. * gcc.target/powerpc/swaps-p8-32.c: Likewise. * gcc.target/powerpc/swaps-p8-41.c: Likewise. * gcc.target/powerpc/swaps-p8-34.c: Likewise. * gcc.target/powerpc/swaps-p8-43.c: Likewise. * gcc.target/powerpc/swaps-p8-36.c: Likewise. * gcc.target/powerpc/swaps-p8-45.c: Likewise. * gcc.target/powerpc/swaps-p8-29.c: Likewise. * gcc.target/powerpc/swaps-p8-38.c: Likewise. * gcc.target/powerpc/swaps-p8-31.c: Likewise. * gcc.target/powerpc/swaps-p8-40.c: Likewise. * gcc.target/powerpc/swaps-p8-33.c: Likewise. * gcc.target/powerpc/swaps-p8-42.c: Likewise. * gcc.target/powerpc/swaps-p8-35.c: Likewise. * gcc.target/powerpc/swaps-p8-44.c: Likewise. * gcc.target/powerpc/swaps-p8-28.c: Likewise. * gcc.target/powerpc/swaps-p8-37.c: Likewise. * gcc.target/powerpc/swaps-p8-39.c: Likewise. From-SVN: r253296 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 5bb4a2fd47a..537b751f636 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,26 @@ +2017-09-29 Kelvin Nilsen + + * gcc.target/powerpc/swaps-p8-30.c: Exchange the order of dg-do + and dg-require-effective-target directives to correct testing + behavior. + * gcc.target/powerpc/swaps-p8-32.c: Likewise. + * gcc.target/powerpc/swaps-p8-41.c: Likewise. + * gcc.target/powerpc/swaps-p8-34.c: Likewise. + * gcc.target/powerpc/swaps-p8-43.c: Likewise. + * gcc.target/powerpc/swaps-p8-36.c: Likewise. + * gcc.target/powerpc/swaps-p8-45.c: Likewise. + * gcc.target/powerpc/swaps-p8-29.c: Likewise. + * gcc.target/powerpc/swaps-p8-38.c: Likewise. + * gcc.target/powerpc/swaps-p8-31.c: Likewise. + * gcc.target/powerpc/swaps-p8-40.c: Likewise. + * gcc.target/powerpc/swaps-p8-33.c: Likewise. + * gcc.target/powerpc/swaps-p8-42.c: Likewise. + * gcc.target/powerpc/swaps-p8-35.c: Likewise. + * gcc.target/powerpc/swaps-p8-44.c: Likewise. + * gcc.target/powerpc/swaps-p8-28.c: Likewise. + * gcc.target/powerpc/swaps-p8-37.c: Likewise. + * gcc.target/powerpc/swaps-p8-39.c: Likewise. + 2017-09-29 Bill Schmidt PR tree-optimization/82337 diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-28.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-28.c index 4e96d923293..4ab2bc3db77 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-28.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-28.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-29.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-29.c index c1ed7d3ceef..d2025dfbafc 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-29.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-29.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-30.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-30.c index 4e265d5d7ce..9421dbbb156 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-30.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-30.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-31.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-31.c index 1711dd13ae3..a3c2f8240be 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-31.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-31.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-32.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-32.c index 8f137196df3..57b76ecf7fc 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-32.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-32.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-33.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-33.c index 8e76ba94c5b..2289be468ec 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-33.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-33.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-34.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-34.c index 7eb39e3c045..a7ddb01864a 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-34.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-34.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-35.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-35.c index 99ca9918a62..da98e90e2c3 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-35.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-35.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-36.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-36.c index 6c067b3dc60..52990a6c855 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-36.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-36.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-37.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-37.c index ac5f7cc21a6..4d8ae11bf97 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-37.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-37.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-38.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-38.c index b05536bfcb7..bf08574bd74 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-38.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-38.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-39.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-39.c index b76f5c44b2d..8cd68ddcd72 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-39.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-39.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-40.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-40.c index 2f48d0d2283..3d1bd3f4b6f 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-40.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-40.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-41.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-41.c index a6fda1261d6..3ac52fda59a 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-41.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-41.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-42.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-42.c index 5e4073f0867..1f2a73a07b0 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-42.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-42.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-43.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-43.c index 383394ca365..c3caf8898e1 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-43.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-43.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-44.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-44.c index 06323a9ed82..8ab513c0440 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-44.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-44.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target p8vector_hw } */ /* { dg-do run { target { powerpc*-*-* } } } */ +/* { dg-require-effective-target p8vector_hw } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ diff --git a/gcc/testsuite/gcc.target/powerpc/swaps-p8-45.c b/gcc/testsuite/gcc.target/powerpc/swaps-p8-45.c index 2129bea430f..69953589782 100644 --- a/gcc/testsuite/gcc.target/powerpc/swaps-p8-45.c +++ b/gcc/testsuite/gcc.target/powerpc/swaps-p8-45.c @@ -1,5 +1,5 @@ -/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-do compile { target { powerpc64le-*-* } } } */ +/* { dg-require-effective-target powerpc_p8vector_ok } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */ /* { dg-options "-mcpu=power8 -O3 " } */ /* { dg-final { scan-assembler-not "xxpermdi" } } */