(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.target/
powerpc/
pr80695-p8.c
       1  /* { dg-do compile { target { powerpc_p8vector_ok } } } */
       2  /* { dg-require-effective-target vect_int } */
       3  /* { dg-options "-mdejagnu-cpu=power8 -O3 -fdump-tree-slp-details" } */
       4  
       5  /* PR80695: Verify cost model for vec_construct on POWER8.  */
       6  
       7  long a[10] __attribute__((aligned(16)));
       8  
       9  void foo (long i, long j, long k, long l)
      10  {
      11    a[6] = i;
      12    a[7] = j;
      13    a[8] = k;
      14    a[9] = l;
      15  }
      16  
      17  /* { dg-final { scan-tree-dump-times "vectorization is not profitable" 1 "slp2" } } */