Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git] / gcc / testsuite / gcc.dg / vect / pr43432.c
blob5f3db7d8235d230fff2b3856f7921bde13dbeb38
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
5 void 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];
13 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" { target { vect_perm && vect_hw_misalign } } } } */
14 /* { dg-final { cleanup-tree-dump "vect" } } */