Message ID | 20220926051937.729321-1-lin1.hu@intel.com |
---|---|
State | New |
Headers | show |
Series | testsuite: Fix up avx256-unaligned-store-3.c test. | expand |
> -----Original Message----- > From: Hu, Lin1 <lin1.hu@intel.com> > Sent: Monday, September 26, 2022 1:20 PM > To: gcc-patches@gcc.gnu.org > Cc: Liu, Hongtao <hongtao.liu@intel.com>; ubizjak@gmail.com > Subject: [PATCH] testsuite: Fix up avx256-unaligned-store-3.c test. > > Hi all, > > This patch aims to fix a problem that avx256-unaligned-store-3.c test reports > two unexpected fails under "-march=cascadelake". > > Regtested on x86_64-pc-linux-gnu. Ok for trunk? Ok. > > BRs, > Lin > > gcc/testsuite/ChangeLog: > > PR target/94962 > * gcc.target/i386/avx256-unaligned-store-3.c: Add -mno-avx512f > --- > gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c > b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c > index f909099bcb1..67635fb9e66 100644 > --- a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c > +++ b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c > @@ -1,5 +1,5 @@ > /* { dg-do compile } */ > -/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-store - > mtune=generic -fno-common" } */ > +/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-store - > mtune=generic -fno-common -mno-avx512f" } */ > > #define N 1024 > > -- > 2.18.2
diff --git a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c index f909099bcb1..67635fb9e66 100644 --- a/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c +++ b/gcc/testsuite/gcc.target/i386/avx256-unaligned-store-3.c @@ -1,5 +1,5 @@ /* { dg-do compile } */ -/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-store -mtune=generic -fno-common" } */ +/* { dg-options "-O3 -dp -mavx -mavx256-split-unaligned-store -mtune=generic -fno-common -mno-avx512f" } */ #define N 1024