Debian Codegraph @

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

raw
1 /* { dg-do compile } */
2 /* { dg-options "-O3 -march=armv8.2-a+sve -fno-vect-cost-model" } */
3
4 typedef struct {
5 unsigned short mprr_2[5][16][16];
6 } ImageParameters;
7 int s[16][2];
8 void intrapred_luma_16x16(ImageParameters *img, int s0)
9 {
10 for (int j=0; j < 16; j++)
11 for (int i=0; i < 16; i++)
12 {
13 img->mprr_2[1 ][j][i]=s[j][1];
14 img->mprr_2[2 ][j][i]=s0;
15 }
16 }