/* { dg-do compile } */ /* { dg-options "-O2 -ftree-vectorize -ffast-math -march=knl" } */ /* { dg-final { scan-assembler-times "vpermpd\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */ #define N 1024 double d1[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__))); double d2[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__))); void foo () { int j; for (j=0; j