public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Jan Beulich <jbeulich@gcc.gnu.org>
To: gcc-cvs@gcc.gnu.org
Subject: [gcc r14-2008] x86: add -mprefer-vector-width=512 to new avx512f-dupv2di.c testcase
Date: Wed, 21 Jun 2023 06:03:19 +0000 (GMT)	[thread overview]
Message-ID: <20230621060319.BA2153858D1E@sourceware.org> (raw)

https://gcc.gnu.org/g:67061960b6ccdb706b11613a27c4ae30ee81c2c5

commit r14-2008-g67061960b6ccdb706b11613a27c4ae30ee81c2c5
Author: Jan Beulich <jbeulich@suse.com>
Date:   Wed Jun 21 08:01:32 2023 +0200

    x86: add -mprefer-vector-width=512 to new avx512f-dupv2di.c testcase
    
    This is to cover testing also being done with -march=cascadelake.
    
    gcc/testsuite/
    
            * gcc.target/i386/avx512f-dupv2di.c: Add
            -mprefer-vector-width=512.

Diff:
---
 gcc/testsuite/gcc.target/i386/avx512f-dupv2di.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gcc/testsuite/gcc.target/i386/avx512f-dupv2di.c b/gcc/testsuite/gcc.target/i386/avx512f-dupv2di.c
index d8d9609a1c4..3ea689edd36 100644
--- a/gcc/testsuite/gcc.target/i386/avx512f-dupv2di.c
+++ b/gcc/testsuite/gcc.target/i386/avx512f-dupv2di.c
@@ -1,5 +1,5 @@
 /* { dg-do compile { target { ! ia32 } } } */
-/* { dg-options "-mavx512f -mno-avx512vl -O2" } */
+/* { dg-options "-mavx512f -mno-avx512vl -mprefer-vector-width=512 -O2" } */
 /* { dg-final { scan-assembler-not "vmovddup\[^\n\]*%xmm16" } } */
 
 typedef long long __attribute__ ((vector_size (16))) v2di;

                 reply	other threads:[~2023-06-21  6:03 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=20230621060319.BA2153858D1E@sourceware.org \
    --to=jbeulich@gcc.gnu.org \
    --cc=gcc-cvs@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).