Debian Codegraph @

gcc/testsuite/gcc.target/aarch64/sve/acle/general/pr112906.c

raw
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O2" } */
3 #include <arm_sve.h>
4 unsigned c;
5 long d;
6 void f() {
7 unsigned char *b;
8 svbool_t x = svptrue_b8();
9 svuint32_t g;
10 svuint8_t h, i;
11 d = 0;
12 for (; (unsigned *)d < &c; d += 16) {
13 h = svld1rq(x, &b[d]);
14 g = svdot_lane(g, i, h, 3);
15 }
16 svst1_vnum(x, &c, 8, g);
17 }