public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-2008] x86: add -mprefer-vector-width=512 to new avx512f-dupv2di.c testcase
@ 2023-06-21  6:03 Jan Beulich
  0 siblings, 0 replies; only message in thread
From: Jan Beulich @ 2023-06-21  6:03 UTC (permalink / raw)
  To: gcc-cvs

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;

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

only message in thread, other threads:[~2023-06-21  6:03 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-06-21  6:03 [gcc r14-2008] x86: add -mprefer-vector-width=512 to new avx512f-dupv2di.c testcase Jan Beulich

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