[testsuite] require sqrt_insn effective target where needed
[official-gcc.git] / gcc / testsuite / gcc.target / powerpc / pr80695-p9.c
blobf35e45beb4a90e5a87360e5efb0938e4170b69d8
1 /* { dg-do compile { target { powerpc_vsx_ok } } } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-options "-mdejagnu-cpu=power9 -mvsx -O3 -fdump-tree-slp-details" } */
5 /* PR80695: Verify cost model for vec_construct on POWER9. */
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" } } */