Debian Codegraph @

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

raw
1 /* { dg-options "-O2 -ftree-vectorize -fno-vect-cost-model -msve-vector-bits=256" } */
2 /* Originally from gcc.dg/vect/pr88598-4.c. */
3
4 #define N 4
5
6 int a[N];
7
8 int __attribute__ ((noipa))
9 f2 (void)
10 {
11 int b[N] = { 0, 31, 0, 31 }, res = 0;
12 for (int i = 0; i < N; ++i)
13 res += a[i] & b[i];
14 return res;
15 }
16
17 /* { dg-final { scan-assembler-not {\tmov\tz[0-9]\.d, #} } } */
18 /* { dg-final { scan-assembler-not {\tstr\tz[0-9],} } } */