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