Debian Codegraph @

gcc/testsuite/gcc.target/loongarch/vector/lasx/lasx-vec-init-1.c

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3" } */
3
4 void
5 foo (unsigned char *dst, unsigned char *src)
6 {
7 for (int y = 0; y < 16; y++)
8 {
9 for (int x = 0; x < 16; x++)
10 dst[x] = src[x] + 1;
11 dst += 32;
12 src += 32;
13 }
14 }