1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
/* { dg-do compile } */ /* { dg-options "-O2 -ftree-vectorize -msse2" } */ unsigned int a[256]; float b[256]; void foo(void) { int i; for (i=0; i<256; ++i) b[i] = a[i]; } /* { dg-final { scan-assembler "cvtdq2ps" } } */