Hi, all Testing pr117304-1.c in a machine with only avx2 generates some different hints, so add -mavx512vl at its option list.
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