2 /* { dg-do compile } */
3 /* { dg-options "-O2 -ftree-vectorize -fno-vect-cost-model -mavx" } */
5 void test_v4sf (float * __restrict__ p
, float * __restrict q
)
13 void test_v8sf (float * __restrict__ p
, float * __restrict q
)
25 void test_v2df (double * __restrict__ p
, double * __restrict q
)
31 void test_v4df (double * __restrict__ p
, double * __restrict q
)
39 /* { dg-final { scan-assembler-times "vaddsubps" 2 } } */
40 /* { dg-final { scan-assembler-times "vaddsubpd" 2 } } */