blob: 8838db83767e1494f36acf2f571babb4ae4976c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/* { dg-do compile } */
/* { dg-require-effective-target vect_int } */
/* { dg-require-effective-target vect_shift } */
typedef struct tagPOINT
{
int x;
int y;
} POINT;
void
f (POINT * ptBuf)
{
int i;
for (i = 0; i < 4; i++)
{
ptBuf[i].x = ((ptBuf[i].x) << 4);
ptBuf[i].y = ((ptBuf[i].y) << 4);
}
}
|