2018-05-17 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.target / i386 / pr59544.c
blob60430843c58c9ae4b9346d48e2d8bfa7cbe733dc
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -mavx -ftree-vectorize -fdump-tree-vect-details" } */
4 void test1(short * __restrict__ x, short * __restrict__ y, short * __restrict__ z)
6 int i;
7 for (i=127; i>=0; i--) {
8 x[i] = y[127-i] + z[127-i];
12 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */