public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH, rs6000] tighten target statements for a p8 and p9 specific tests
@ 2018-02-21 17:33 Will Schmidt
  2018-02-22 18:12 ` Segher Boessenkool
  0 siblings, 1 reply; 2+ messages in thread
From: Will Schmidt @ 2018-02-21 17:33 UTC (permalink / raw)
  To: gcc-patches; +Cc: Segher Boessenkool, David Edelsohn, Bill Schmidt

    
Hi, 
  Update the dg-requires statements for these tests to specify the target.
These tests may otherwise fail on a system missing p9 assembler support.
(Seen in a p6 environment).

OK for trunk?
Thanks,
-Will

[testsuite]

2018-02-21  Will Schmidt  <will_schmidt@vnet.ibm.com>

	* gcc.target/powerpc/pr80695-p8.c: Update dg-requires stanza.
	* gcc.target/powerpc/pr80695-p9.c: Update dg-requires stanza.

diff --git a/gcc/testsuite/gcc.target/powerpc/pr80695-p8.c b/gcc/testsuite/gcc.target/powerpc/pr80695-p8.c
index 165079a..b5d007e 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr80695-p8.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr80695-p8.c
@@ -1,6 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile { target { powerpc_p8vector_ok } } } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power8" } } */
 /* { dg-require-effective-target vect_int } */
 /* { dg-options "-mcpu=power8 -O3 -fdump-tree-slp-details" } */
 
 /* PR80695: Verify cost model for vec_construct on POWER8.  */
diff --git a/gcc/testsuite/gcc.target/powerpc/pr80695-p9.c b/gcc/testsuite/gcc.target/powerpc/pr80695-p9.c
index a81f90a..302b1c5 100644
--- a/gcc/testsuite/gcc.target/powerpc/pr80695-p9.c
+++ b/gcc/testsuite/gcc.target/powerpc/pr80695-p9.c
@@ -1,6 +1,6 @@
-/* { dg-do compile { target { powerpc*-*-* } } } */
+/* { dg-do compile { target { powerpc_p9vector_ok } } } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*" } { "-mcpu=power9" } } */
 /* { dg-require-effective-target vect_int } */
 /* { dg-options "-mcpu=power9 -O3 -fdump-tree-slp-details" } */
 
 /* PR80695: Verify cost model for vec_construct on POWER9.  */


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH, rs6000] tighten target statements for a p8 and p9 specific tests
  2018-02-21 17:33 [PATCH, rs6000] tighten target statements for a p8 and p9 specific tests Will Schmidt
@ 2018-02-22 18:12 ` Segher Boessenkool
  0 siblings, 0 replies; 2+ messages in thread
From: Segher Boessenkool @ 2018-02-22 18:12 UTC (permalink / raw)
  To: Will Schmidt; +Cc: gcc-patches, David Edelsohn, Bill Schmidt

On Wed, Feb 21, 2018 at 11:33:31AM -0600, Will Schmidt wrote:
>   Update the dg-requires statements for these tests to specify the target.
> These tests may otherwise fail on a system missing p9 assembler support.
> (Seen in a p6 environment).
> 
> OK for trunk?

Okay, thanks!


Segher


> 2018-02-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
> 
> 	* gcc.target/powerpc/pr80695-p8.c: Update dg-requires stanza.
> 	* gcc.target/powerpc/pr80695-p9.c: Update dg-requires stanza.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-02-22 18:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-21 17:33 [PATCH, rs6000] tighten target statements for a p8 and p9 specific tests Will Schmidt
2018-02-22 18:12 ` Segher Boessenkool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).