Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/vect/vect-32.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* { dg-require-effective-target vect_int } */ | 1 /* { dg-require-effective-target vect_int } */ |
2 | 2 |
3 #include <stdarg.h> | 3 #include <stdarg.h> |
4 #include "tree-vect.h" | 4 #include "tree-vect.h" |
5 | 5 |
6 #if VECTOR_BITS > 128 | |
7 #define N (VECTOR_BITS / 8) | |
8 #else | |
6 #define N 16 | 9 #define N 16 |
7 | 10 #endif |
11 | |
8 __attribute__ ((noinline)) | 12 __attribute__ ((noinline)) |
9 int main1 () | 13 int main1 () |
10 { | 14 { |
11 struct { | 15 struct { |
12 char ca[N]; | 16 char ca[N]; |
34 | 38 |
35 return main1 (); | 39 return main1 (); |
36 } | 40 } |
37 | 41 |
38 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ | 42 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ |
39 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ | 43 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" { xfail { ! vect_align_stack_vars } } } } */ |