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" } } */