i386: Adjust rtx cost for imulq and imulw [PR115749]
[official-gcc.git] / gcc / testsuite / gcc.dg / vect / vect-ctor-1.c
blobe050db1a2e4072e65152d913595f4d55fd85e2fd
1 /* { dg-do compile } */
2 /* { dg-additional-options "-O3" } */
3 /* { dg-additional-options "-mavx2" { target { i?86-*-* x86_64-*-* } } } */
5 typedef struct {
6 unsigned short mprr_2[5][16][16];
7 } ImageParameters;
8 int s[16][2];
9 void intrapred_luma_16x16(ImageParameters *img, int s0)
11 for (int j=0; j < 16; j++)
12 for (int i=0; i < 16; i++)
14 img->mprr_2[1 ][j][i]=s[j][1];
15 img->mprr_2[2 ][j][i]=s0;