diff mbox series

x86: add -mprefer-vector-width=512 to new avx512f-dupv2di.c testcase

Message ID 0008d437-f7fc-36bd-e6ce-7293746dbac4@suse.com
State New
Headers show
Series x86: add -mprefer-vector-width=512 to new avx512f-dupv2di.c testcase | expand

Commit Message

Jan Beulich June 21, 2023, 5:59 a.m. UTC
This is to cover testing also being done with -march=cascadelake.
---
Committing as obvious.
diff mbox series

Patch

--- 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;