public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Biener <rguenther@suse.de>
To: Tamar Christina <tamar.christina@arm.com>
Cc: gcc-patches@gcc.gnu.org, nd@arm.com
Subject: Re: [PATCH]middle-end vect: add vect_float to pr102819 tests
Date: Wed, 2 Mar 2022 13:41:56 +0100 (CET)	[thread overview]
Message-ID: <5p16316s-667-p1p0-9615-s4r7508p1pp@fhfr.qr> (raw)
In-Reply-To: <patch-15345-tamar@arm.com>

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>
> 
> 
> 

-- 
Richard Biener <rguenther@suse.de>
SUSE Software Solutions Germany GmbH, Maxfeldstrasse 5, 90409 Nuernberg,
Germany; GF: Ivo Totev; HRB 36809 (AG Nuernberg)

      reply	other threads:[~2022-03-02 12:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-02 12:40 Tamar Christina
2022-03-02 12:41 ` Richard Biener [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5p16316s-667-p1p0-9615-s4r7508p1pp@fhfr.qr \
    --to=rguenther@suse.de \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=nd@arm.com \
    --cc=tamar.christina@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).