aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/pr30970.c
blob: 96d64e5a9628e0cacc640ba4c9d96e14ccea126a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/* { dg-do compile }
/* { dg-options "-msse2 -O2 -ftree-vectorize" } */

#define N 256
int b[N];

void test()
{  
  int i;

  for (i = 0; i < N; i++)
    b[i] = 0;
}

/* { dg-final { scan-assembler-times "pxor" 1 } } */