Remove old autovect-branch by moving to "dead" directory.
[official-gcc.git] / old-autovect-branch / gcc / testsuite / gcc.dg / vect / vect-82_64.c
bloba21ed1281fe8f46648019a6274588da108e2fbc5
1 /* { dg-do run { target { powerpc*-*-* && lp64 } } } */
2 /* { dg-do compile { target { powerpc*-*-* && ilp32 } } } */
3 /* { dg-options "-O2 -ftree-vectorize -mpowerpc64 -fdump-tree-vect-stats -maltivec" } */
5 #include <stdarg.h>
6 #include "tree-vect.h"
8 #define N 16
10 int main1 ()
12 long long unsigned int ca[N];
13 int i;
15 for (i = 0; i < N; i++)
17 ca[i] = 0;
20 /* check results: */
21 for (i = 0; i < N; i++)
23 if (ca[i] != 0)
24 abort ();
27 return 0;
30 int main (void)
32 check_vect ();
34 return main1 ();
37 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */
38 /* { dg-final { cleanup-tree-dump "vect" } } */