1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3" } */
3 /* { dg-additional-options "-mavx2" { target { i?86-*-* x86_64-*-* } } } */
4 
5 typedef struct {
6     unsigned short mprr_2[5][16][16];
7 } ImageParameters;
8 int s[16][2];
intrapred_luma_16x16(ImageParameters * img,int s0)9 void intrapred_luma_16x16(ImageParameters *img, int s0)
10 {
11   for (int j=0; j < 16; j++)
12     for (int i=0; i < 16; i++)
13       {
14 	img->mprr_2[1 ][j][i]=s[j][1];
15 	img->mprr_2[2 ][j][i]=s0;
16       }
17 }
18