Message ID | patch-15345-tamar@arm.com |
---|---|
State | New |
Headers | show |
Series | middle-end vect: add vect_float to pr102819 tests | expand |
On Wed, 2 Mar 2022, Tamar Christina wrote: > Hi All, > > This adds a vect_float requirements to this tests to stop them from running on > targets that don't support float vectorization. > > Regtested on aarch64-none-linux-gnu and no issues. > > Ok for master? and GCC 11? OK. > > I would normally have committed this as trivial but since I need GCC 11 > too I've send the patch for backport approval. > > Thanks, > Tamar > > gcc/testsuite/ChangeLog: > > PR testsuite/104730 > * gcc.dg/vect/complex/pr102819-1.c: Add vect_float. > * gcc.dg/vect/complex/pr102819-2.c: Likewise. > * gcc.dg/vect/complex/pr102819-3.c: Likewise. > * gcc.dg/vect/complex/pr102819-4.c: Likewise. > * gcc.dg/vect/complex/pr102819-5.c: Likewise. > * gcc.dg/vect/complex/pr102819-6.c: Likewise. > * gcc.dg/vect/complex/pr102819-7.c: Likewise. > * gcc.dg/vect/complex/pr102819-8.c: Likewise. > * gcc.dg/vect/complex/pr102819-9.c: Likewise. > > --- inline copy of patch -- > diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-1.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-1.c > index 46b9a55f05279d732fa1418e02f779cf693ede07..ae16b8956a7ef01a3116ea5e29c8872b2fa2cc78 100644 > --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-1.c > +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-1.c > @@ -1,4 +1,5 @@ > /* { dg-do compile } */ > +/* { dg-require-effective-target vect_float } */ > /* { dg-add-options arm_v8_3a_complex_neon } */ > > float f[12][100]; > diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-2.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-2.c > index ffe646efe57f7ad07541b0fb96601596f46dc5f8..aeee34d40a0791754850b1771c9cd6fac5aa984f 100644 > --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-2.c > +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-2.c > @@ -1,4 +1,5 @@ > /* { dg-do compile } */ > +/* { dg-require-effective-target vect_float } */ > /* { dg-add-options arm_v8_3a_complex_neon } */ > > float f[12][100]; > diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-3.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-3.c > index 5f98aa204d8b11b0cb433f8965dbb72cf8940de1..210540bd18c367a6f1bbe986823a892287620d02 100644 > --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-3.c > +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-3.c > @@ -1,4 +1,5 @@ > /* { dg-do compile } */ > +/* { dg-require-effective-target vect_float } */ > /* { dg-add-options arm_v8_3a_complex_neon } */ > > float f[12][100]; > diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-4.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-4.c > index 882851789c5085e734000609114be480d3b08bd0..b4c3d9ece5e5349ce7767a4641b467546054265b 100644 > --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-4.c > +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-4.c > @@ -1,4 +1,5 @@ > /* { dg-do compile } */ > +/* { dg-require-effective-target vect_float } */ > /* { dg-add-options arm_v8_3a_complex_neon } */ > > float f[12][100]; > diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-5.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-5.c > index 6a2d549d65f3f27d407fb0bd469473e6a5c333ae..34bec587aade1da8fab0f7d189f3e4e92d506bf4 100644 > --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-5.c > +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-5.c > @@ -1,4 +1,5 @@ > /* { dg-do compile } */ > +/* { dg-require-effective-target vect_float } */ > /* { dg-add-options arm_v8_3a_complex_neon } */ > > float f[12][100]; > diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-6.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-6.c > index 71e66dbe3b29eec1fffb8df9b216022fdc0af54e..8da0d867f587d9ae9b5adb67926ecf235d801822 100644 > --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-6.c > +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-6.c > @@ -1,4 +1,5 @@ > /* { dg-do compile } */ > +/* { dg-require-effective-target vect_float } */ > /* { dg-add-options arm_v8_3a_complex_neon } */ > > float f[12][100]; > diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-7.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-7.c > index 536672f3c8bb474ad5fa4bb61b3a36b555acf3cf..bac9cc1ce5544b822e002cfb6073303579d5730a 100644 > --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-7.c > +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-7.c > @@ -1,4 +1,5 @@ > /* { dg-do compile } */ > +/* { dg-require-effective-target vect_float } */ > /* { dg-add-options arm_v8_3a_complex_neon } */ > > float f[12][100]; > diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-8.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-8.c > index 07b48148688b7d530e5891d023d558b58a485c23..ce70292e96d516e032da479f14634cc1cdfddff3 100644 > --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-8.c > +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-8.c > @@ -1,4 +1,5 @@ > /* { dg-do compile } */ > +/* { dg-require-effective-target vect_float } */ > /* { dg-add-options arm_v8_3a_complex_neon } */ > > float f[12][100]; > diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-9.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-9.c > index 7655852434b21b381fe7ee316e8caf3d485b8ee1..a513821b120eebb12edc3fb817c697756496065d 100644 > --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-9.c > +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-9.c > @@ -1,4 +1,5 @@ > /* { dg-do compile } */ > +/* { dg-require-effective-target vect_float } */ > /* { dg-add-options arm_v8_3a_complex_neon } */ > > #include <stdio.h> > > >
diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-1.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-1.c index 46b9a55f05279d732fa1418e02f779cf693ede07..ae16b8956a7ef01a3116ea5e29c8872b2fa2cc78 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-1.c +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-1.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target vect_float } */ /* { dg-add-options arm_v8_3a_complex_neon } */ float f[12][100]; diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-2.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-2.c index ffe646efe57f7ad07541b0fb96601596f46dc5f8..aeee34d40a0791754850b1771c9cd6fac5aa984f 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-2.c +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-2.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target vect_float } */ /* { dg-add-options arm_v8_3a_complex_neon } */ float f[12][100]; diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-3.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-3.c index 5f98aa204d8b11b0cb433f8965dbb72cf8940de1..210540bd18c367a6f1bbe986823a892287620d02 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-3.c +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-3.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target vect_float } */ /* { dg-add-options arm_v8_3a_complex_neon } */ float f[12][100]; diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-4.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-4.c index 882851789c5085e734000609114be480d3b08bd0..b4c3d9ece5e5349ce7767a4641b467546054265b 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-4.c +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-4.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target vect_float } */ /* { dg-add-options arm_v8_3a_complex_neon } */ float f[12][100]; diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-5.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-5.c index 6a2d549d65f3f27d407fb0bd469473e6a5c333ae..34bec587aade1da8fab0f7d189f3e4e92d506bf4 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-5.c +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-5.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target vect_float } */ /* { dg-add-options arm_v8_3a_complex_neon } */ float f[12][100]; diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-6.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-6.c index 71e66dbe3b29eec1fffb8df9b216022fdc0af54e..8da0d867f587d9ae9b5adb67926ecf235d801822 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-6.c +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-6.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target vect_float } */ /* { dg-add-options arm_v8_3a_complex_neon } */ float f[12][100]; diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-7.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-7.c index 536672f3c8bb474ad5fa4bb61b3a36b555acf3cf..bac9cc1ce5544b822e002cfb6073303579d5730a 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-7.c +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-7.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target vect_float } */ /* { dg-add-options arm_v8_3a_complex_neon } */ float f[12][100]; diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-8.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-8.c index 07b48148688b7d530e5891d023d558b58a485c23..ce70292e96d516e032da479f14634cc1cdfddff3 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-8.c +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-8.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target vect_float } */ /* { dg-add-options arm_v8_3a_complex_neon } */ float f[12][100]; diff --git a/gcc/testsuite/gcc.dg/vect/complex/pr102819-9.c b/gcc/testsuite/gcc.dg/vect/complex/pr102819-9.c index 7655852434b21b381fe7ee316e8caf3d485b8ee1..a513821b120eebb12edc3fb817c697756496065d 100644 --- a/gcc/testsuite/gcc.dg/vect/complex/pr102819-9.c +++ b/gcc/testsuite/gcc.dg/vect/complex/pr102819-9.c @@ -1,4 +1,5 @@ /* { dg-do compile } */ +/* { dg-require-effective-target vect_float } */ /* { dg-add-options arm_v8_3a_complex_neon } */ #include <stdio.h>