1 /* { dg-do compile } */
2 /* { dg-options "-O3 -march=skylake-avx512 -mprefer-vector-width=256" } */
3 /* { dg-final { scan-assembler-not "%zmm\[0-9\]+" } } */
4 /* { dg-final { scan-assembler "vmulpd" } } */
5 
6 #define N 1024
7 
8 double a[N], b[N], c[N];
9 
10 void
avx512f_test(void)11 avx512f_test (void)
12 {
13   int i;
14 
15   for (i = 0; i < N; i++)
16     c[i] = a[i] * b[i];
17 }
18 
19