diff mbox series

[testsuite] Restrict some PPC tests

Message ID CAGWvny=KBEbcCHbrNyYU1MYygW3oDvW+-XAj1BDpnoZnwDjqqw@mail.gmail.com
State New
Headers show
Series [testsuite] Restrict some PPC tests | expand

Commit Message

David Edelsohn July 17, 2018, 3:40 p.m. UTC
Two of the powerpc testcases have additional requirements.  Fixed thus.

Thanks, David

* gcc.target/powerpc/pr57150.c: Require longdouble128.
* gcc.target/powerpc/pr79916.c: Require dfp.

 /* { dg-options "-O3 -mcpu=power7 -fcaller-saves" } */
diff mbox series

Patch

Index: pr79916.c
===================================================================
--- pr79916.c   (revision 262824)
+++ pr79916.c   (working copy)
@@ -1,4 +1,5 @@ 
 /* { dg-do compile  { target { powerpc*-*-* } } } */
+/* { dg-require-effective-target dfp } */
 /* { dg-options "-fno-expensive-optimizations --param
ira-max-conflict-table-size=0 -mno-popcntd -O3" } */

 #define PASTE2(A,B) A ## B
Index: pr57150.c
===================================================================
--- pr57150.c   (revision 262824)
+++ pr57150.c   (working copy)
@@ -1,5 +1,6 @@ 
 /* { dg-do compile { target { powerpc*-*-* } } } */
 /* { dg-skip-if "" { powerpc*-*-darwin* } } */
+/* { dg-require-effective-target longdouble128 } */
 /* { dg-require-effective-target powerpc_vsx_ok } */
 /* { dg-skip-if "do not override -mcpu" { powerpc*-*-* } { "-mcpu=*"
} { "-mcpu=power7" } } */