> -----Original Message-----
> From: Hu, Lin1 <lin1...@intel.com>
> Sent: Thursday, November 7, 2024 11:03 AM
> To: gcc-patches@gcc.gnu.org
> Cc: Liu, Hongtao <hongtao....@intel.com>; ubiz...@gmail.com
> Subject: [PATCH] i386: Add -mavx512vl for pr117304-1.c
> 
> Hi, all
> 
> Testing pr117304-1.c in a machine with only avx2 generates some different
> hints, so add -mavx512vl at its option list.
Didn't quite understand, what kind of hint it is, why avx512vl is needed?
> 
> Bootstrapped and regtested on x86-64-pc-linux-gnu.
> I think it is an obvious commit, but I still waiting for some while.
> If someone have other suggestion.
> 
> BRs,
> Lin
> 
> gcc/testsuite/ChangeLog:
> 
>       * gcc.target/i386/pr117304-1.c: Add -mavx512vl.
> ---
>  gcc/testsuite/gcc.target/i386/pr117304-1.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/gcc/testsuite/gcc.target/i386/pr117304-1.c
> b/gcc/testsuite/gcc.target/i386/pr117304-1.c
> index fc1c5bfd3e3..da26f4bd1b7 100644
> --- a/gcc/testsuite/gcc.target/i386/pr117304-1.c
> +++ b/gcc/testsuite/gcc.target/i386/pr117304-1.c
> @@ -1,6 +1,6 @@
>  /* PR target/117304 */
>  /* { dg-do compile } */
> -/* { dg-options "-O2 -mavx512f -mno-evex512" } */
> +/* { dg-options "-O2 -mavx512f -mno-evex512 -mavx512vl" } */
> 
>  typedef __attribute__((__vector_size__(32))) int __v8si;  typedef
> __attribute__((__vector_size__(32))) unsigned int __v8su;
> --
> 2.31.1

Reply via email to