public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] Fix gcc.target/i386/vect-pr97352.c for -m32 -march=cascadelake
@ 2021-09-28  8:05 Richard Biener
  0 siblings, 0 replies; only message in thread
From: Richard Biener @ 2021-09-28  8:05 UTC (permalink / raw)
  To: gcc-patches

The easiest is to disable AVX2 and AVX512F explicitely.

Tested on x86_64-unknown-linux-gnu, pushed.

2021-09-28  Richard Biener  <rguenther@suse.de>

	* gcc.target/i386/vect-pr97352.c: Pass -mno-avx2 -mno-avx512f.
---
 gcc/testsuite/gcc.target/i386/vect-pr97352.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/vect-pr97352.c b/gcc/testsuite/gcc.target/i386/vect-pr97352.c
index d0e120600db..f6cbf368160 100644
--- a/gcc/testsuite/gcc.target/i386/vect-pr97352.c
+++ b/gcc/testsuite/gcc.target/i386/vect-pr97352.c
@@ -1,5 +1,5 @@
 /* { dg-do compile } */
-/* { dg-options "-O3 -mavx" } */
+/* { dg-options "-O3 -mavx -mno-avx2 -mno-avx512f" } */
 
 double x[2], a[4], b[4], c[5];
 
-- 
2.31.1

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2021-09-28  8:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-28  8:05 [PATCH] Fix gcc.target/i386/vect-pr97352.c for -m32 -march=cascadelake Richard Biener

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