(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
i386/
avx512f-vect-perm-2.c
       1  /* { dg-do compile } */
       2  /* { dg-options "-O2 -ftree-vectorize -ffast-math -march=knl" } */
       3  /* { dg-final { scan-assembler-times "vpermpd\[ \\t\]+\[^\{\n\]*%zmm\[0-9\]+(?:\n|\[ \\t\]+#)" 1 } } */
       4  
       5  #define N 1024
       6  double d1[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
       7  double d2[N] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__)));
       8  
       9  void foo ()
      10  {
      11    int j;
      12    for (j=0; j<N; j++)
      13      d1[j] += d2[N-j];
      14  }