summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/i386/vectorize8.c
blob: a194bb088f1506e8a6fbfc762aef788a2076382f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* { dg-do compile } */
/* { dg-options "-O2 -ftree-vectorize -msse2 -mtune=generic" } */

unsigned int a[256];
double b[256];

void foo(void)
{
  int i;

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

/* { dg-final { scan-assembler "cvtdq2pd" } } */