blob: 5aae9aa7decef90b63bc8caba8d93bd5457a6638 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize -msse2" } */
extern void g (int *);
void f (void)
{
int tabs[1024], tabcount;
for (tabcount = 1; tabcount <= 8; tabcount += 7)
{
int i;
for (i = 0; i < 1024; i++)
tabs[i] = i * 12345;
g (tabs);
}
}
|