]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
x86: add -mprefer-vector-width=512 to new avx512f-dupv2di.c testcase
authorJan Beulich <jbeulich@suse.com>
Wed, 21 Jun 2023 06:01:32 +0000 (08:01 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 21 Jun 2023 06:01:32 +0000 (08:01 +0200)
This is to cover testing also being done with -march=cascadelake.

gcc/testsuite/

* gcc.target/i386/avx512f-dupv2di.c: Add
-mprefer-vector-width=512.

gcc/testsuite/gcc.target/i386/avx512f-dupv2di.c

index d8d9609a1c45b1d3ba3936273a076ebb34ebecbc..3ea689edd36d150abc00bf6315bd9116a5c3014f 100644 (file)
@@ -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;