]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/vect/vect-29a.c
1 /* { dg-do run { target powerpc*-*-* } } */
2 /* { dg-do run { target i?86-*-* x86_64-*-* } } */
3 /* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-stats -maltivec" { target powerpc*-*-* } } */
4 /* { dg-options "-O2 -ftree-vectorize -fdump-tree-vect-stats -mmmx" { target i?86-*-* x86_64-*-* } } */
20 for (i
= 0; i
< N
+OFF
; i
++)
25 for (i
= 0; i
< N
; i
++)
31 for (i
= 0; i
< N
; i
++)
33 if (ia
[i
] != ib
[i
+off
])
44 main1 (0); /* aligned */
45 main1 (OFF
); /* unaligned */
49 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */