public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
From: Richard Biener <rguenther@suse.de>
To: gcc-patches@gcc.gnu.org
Subject: [PATCH] Fix gcc.target/i386/vect-pr97352.c for -m32 -march=cascadelake
Date: Tue, 28 Sep 2021 10:05:11 +0200 (CEST)	[thread overview]
Message-ID: <423o61sq-o9o-q242-9o1n-96o356562773@fhfr.qr> (raw)

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

                 reply	other threads:[~2021-09-28  8:05 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=423o61sq-o9o-q242-9o1n-96o356562773@fhfr.qr \
    --to=rguenther@suse.de \
    --cc=gcc-patches@gcc.gnu.org \
    /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).