1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_float } */
6 extern float x
[128] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
7 extern float y
[128] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
8 extern float z
[128] __attribute__ ((__aligned__(__BIGGEST_ALIGNMENT__
)));
14 for (i
= 0; i
< n
; i
++)
16 float diff
= x
[i
] - y
[i
];
17 ret
-= diff
* diff
* z
[i
];
22 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */