diff options
author | Kelvin Nilsen <kelvin@gcc.gnu.org> | 2016-12-08 00:40:40 +0000 |
---|---|---|
committer | Kelvin Nilsen <kelvin@gcc.gnu.org> | 2016-12-08 00:40:40 +0000 |
commit | 796332b32ce0b0fc31b0b8af8d06b767284c5aea (patch) | |
tree | f3e055d32af37e6ffc80e5ee746d989c306f593d | |
parent | 212d811a5ac15a363fc7a3cd5c34d2e6c5709fa7 (diff) |
add comments to the two unexercised tests
git-svn-id: https://gcc.gnu.org/svn/gcc/branches/ibm/bz78056-enhance@243425 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/pr78056-5.c | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/pr78056-6.c | 9 | ||||
-rw-r--r-- | gcc/testsuite/gcc.target/powerpc/pr78056-8.c | 7 |
3 files changed, 16 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.target/powerpc/pr78056-5.c b/gcc/testsuite/gcc.target/powerpc/pr78056-5.c index 0fca450ff53..c0453cd1afc 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78056-5.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78056-5.c @@ -3,10 +3,6 @@ /* powerpc_vsx_ok represents power7 */ /* { dg-require-effective-target powerpc_vsx_ok } */ /* { dg-skip-if "" { powerpc*-*-aix* } } */ -/* There is an "incompatibility" between power6 flags and power7 which - is not resolved with the __attribute__ directive below, so we'll - test the __attribute__ directive using a -mcpu=power5 command - line. */ /* { dg-options "-mcpu=power5" } */ /* Though the command line specifies power5 target, this function is diff --git a/gcc/testsuite/gcc.target/powerpc/pr78056-6.c b/gcc/testsuite/gcc.target/powerpc/pr78056-6.c index 772fc98a77f..71eb7f81701 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78056-6.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78056-6.c @@ -1,5 +1,7 @@ /* { dg-do compile { target { powerpc*-*-* } } } */ /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power6" } } */ +/* dfp_hw represents power 6 */ +/* { dg-require-effective-target dfp_hw } */ /* powerpc_vsx_ok represents power7 */ /* { dg-skip-if "" { powerpc_vsx_ok } } */ /* { dg-skip-if "" { powerpc*-*-aix* } } */ @@ -8,6 +10,13 @@ /* This test should succeed on both 32- and 64-bit configurations. */ #include <altivec.h> +/* This test follow the pattern of pr78056-2.c, which has been + * exercised with binutils 2.25. This test, however, has not + * been exercised because the author of the test does not have access + * to a development environment that succesfully bootstraps gcc + * while at the same lacking assembler support for power 7. + */ + /* Though the command line specifies power6 target, this function is to support power7. */ __attribute__((target("cpu=power7"))) diff --git a/gcc/testsuite/gcc.target/powerpc/pr78056-8.c b/gcc/testsuite/gcc.target/powerpc/pr78056-8.c index 88a59b11185..81d8f47a8a6 100644 --- a/gcc/testsuite/gcc.target/powerpc/pr78056-8.c +++ b/gcc/testsuite/gcc.target/powerpc/pr78056-8.c @@ -11,6 +11,13 @@ /* { dg-skip-if "" { powerpc*-*-aix* } } */ /* { dg-options "-mcpu=power5" } */ +/* This test follow the pattern of pr78056-2.c, which has been + * exercised with binutils 2.25. This test, however, has not + * been exercised because the author of the test does not have access + * to a development environment that succesfully bootstraps gcc + * while at the same lacking assembler support for power 6. + */ + /* This test should succeed on both 32- and 64-bit configurations. */ /* Though the command line specifies power5 target, this function is to support power6. Expect an error message here because this target |