Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/vect/vect-89.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
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 > 256 | |
7 #define N (VECTOR_BITS * 2 / 32) | |
8 #else | |
6 #define N 16 | 9 #define N 16 |
10 #endif | |
7 | 11 |
8 struct tmp_struct | 12 struct tmp_struct |
9 { | 13 { |
10 int x; | 14 int x; |
11 int y[N]; | 15 int y[N]; |
43 | 47 |
44 return main1 (); | 48 return main1 (); |
45 } | 49 } |
46 | 50 |
47 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ | 51 /* { dg-final { scan-tree-dump-times "vectorized 1 loops" 1 "vect" } } */ |
48 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ | 52 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" { xfail { ! vect_align_stack_vars } } } } */ |
49 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" } } */ | 53 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 1 "vect" { xfail { vect_element_align_preferred || { ! vect_align_stack_vars } } } } } */ |