1 /* { dg-do compile } */ 2 /* { dg-require-effective-target vect_float } */ 3 4 vector_fmul_reverse_c(float * dst,const float * src0,const float * src1,int len)5void vector_fmul_reverse_c(float *dst, const float *src0, const float *src1, 6 int len){ 7 int i; 8 src1 += len-1; 9 for(i=0; i<len; i++) 10 dst[i] = src0[i] * src1[-i]; 11 } 12 13 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_perm && vect_hw_misalign } } } } */ 14