Debian Codegraph @

gcc/testsuite/gcc.dg/vect/costmodel/x86_64/costmodel-pr64909.c

raw
1 /* { dg-do compile } */
2 /* { dg-require-effective-target vect_int } */
3 /* { dg-additional-options "-mtune=bdver1" } */
4
5 unsigned short a[32];
6 unsigned int b[32];
7 void t()
8 {
9 int i;
10 for (i=0;i<12;i++)
11 b[i]=a[i];
12 }
13
14 /* { dg-final { scan-tree-dump "vectorized 1 loops in function" "vect" } } */