public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: "Liu, Hongtao" <hongtao.liu@intel.com>
To: "Jiang, Haochen" <haochen.jiang@intel.com>,
	"gcc-patches@gcc.gnu.org" <gcc-patches@gcc.gnu.org>
Cc: "ubizjak@gmail.com" <ubizjak@gmail.com>
Subject: RE: [PATCH] i386: Fix recent testcase fail
Date: Tue, 9 Jan 2024 00:59:39 +0000	[thread overview]
Message-ID: <MW4PR11MB6762C74DEBD30CDBAC633AA7E56A2@MW4PR11MB6762.namprd11.prod.outlook.com> (raw)
In-Reply-To: <20240108084049.2591110-1-haochen.jiang@intel.com>



> -----Original Message-----
> From: Jiang, Haochen <haochen.jiang@intel.com>
> Sent: Monday, January 8, 2024 4:41 PM
> To: gcc-patches@gcc.gnu.org
> Cc: Liu, Hongtao <hongtao.liu@intel.com>; ubizjak@gmail.com
> Subject: [PATCH] i386: Fix recent testcase fail
> 
> After commit 01f4251b8775c832a92d55e2df57c9ac72eaceef, early break
> vectorization is supported. The two testcases need to be fixed.
Ok.
> 
> gcc/testsuite/ChangeLog:
> 
> 	* gcc.target/i386/avx512fp16-xorsign-1.c: Fix testcase.
> 	* gcc.target/i386/part-vect-absneghf.c: Ditto.
> ---
>  gcc/testsuite/gcc.target/i386/avx512fp16-xorsign-1.c | 2 +-
>  gcc/testsuite/gcc.target/i386/part-vect-absneghf.c   | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/gcc/testsuite/gcc.target/i386/avx512fp16-xorsign-1.c
> b/gcc/testsuite/gcc.target/i386/avx512fp16-xorsign-1.c
> index a22a6ceabff..f5dd457c9eb 100644
> --- a/gcc/testsuite/gcc.target/i386/avx512fp16-xorsign-1.c
> +++ b/gcc/testsuite/gcc.target/i386/avx512fp16-xorsign-1.c
> @@ -35,7 +35,7 @@ do_test (void)
>        abort ();
>  }
> 
> -/* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
> +/* { dg-final { scan-tree-dump-times "vectorized 2 loops" 1 "vect" } }
> +*/
>  /* { dg-final { scan-assembler "\[ \t\]xor" } } */
>  /* { dg-final { scan-assembler "\[ \t\]and" } } */
>  /* { dg-final { scan-assembler-not "copysign" } } */ diff --git
> a/gcc/testsuite/gcc.target/i386/part-vect-absneghf.c
> b/gcc/testsuite/gcc.target/i386/part-vect-absneghf.c
> index 48aed14d604..713f0bff4dd 100644
> --- a/gcc/testsuite/gcc.target/i386/part-vect-absneghf.c
> +++ b/gcc/testsuite/gcc.target/i386/part-vect-absneghf.c
> @@ -1,5 +1,5 @@
>  /* { dg-do run { target avx512fp16 } } */
> -/* { dg-options "-O1 -mavx512fp16 -mavx512vl -ftree-vectorize -fdump-
> tree-slp-details -fdump-tree-optimized" } */
> +/* { dg-options "-O1 -mavx512fp16 -mavx512vl -fdump-tree-slp-details
> +-fdump-tree-optimized" } */
> 
>  extern void abort ();
> 
> --
> 2.31.1


      reply	other threads:[~2024-01-09  0:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-08  8:40 Haochen Jiang
2024-01-09  0:59 ` Liu, Hongtao [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=MW4PR11MB6762C74DEBD30CDBAC633AA7E56A2@MW4PR11MB6762.namprd11.prod.outlook.com \
    --to=hongtao.liu@intel.com \
    --cc=gcc-patches@gcc.gnu.org \
    --cc=haochen.jiang@intel.com \
    --cc=ubizjak@gmail.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).