Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve/pr103761.c

raw
1 /* { dg-options "-O3" } */
2
3 void f(long *restrict x, int *restrict y, short *restrict z, int *restrict a)
4 {
5 for (int i = 0; i < 100; i += 4)
6 {
7 x[i] = (long) y[z[i]] + 1;
8 x[i + 1] = (long) y[z[i + 1]] + 2;
9 x[i + 2] = (long) y[z[i + 2]] + 3;
10 x[i + 3] = (long) y[z[i + 3]] + 4;
11 a[i] += 1;
12 }
13 }