Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/vect/no-section-anchors-vect-31.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 |
---|---|
2 /* { dg-add-options bind_pic_locally } */ | 2 /* { dg-add-options bind_pic_locally } */ |
3 | 3 |
4 #include <stdarg.h> | 4 #include <stdarg.h> |
5 #include "tree-vect.h" | 5 #include "tree-vect.h" |
6 | 6 |
7 /* N / 2 bytes has to be worth vectorizing even with peeling. */ | |
8 #if VECTOR_BITS > 128 | |
9 #define N (VECTOR_BITS * 4 / 8) | |
10 #else | |
7 #define N 64 | 11 #define N 64 |
12 #endif | |
8 | 13 |
9 struct t{ | 14 struct t{ |
10 int k[N]; | 15 int k[N]; |
11 int l; | 16 int l; |
12 }; | 17 }; |
87 return main1 (); | 92 return main1 (); |
88 } | 93 } |
89 | 94 |
90 /* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" } } */ | 95 /* { dg-final { scan-tree-dump-times "vectorized 4 loops" 1 "vect" } } */ |
91 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ | 96 /* { dg-final { scan-tree-dump-times "Vectorizing an unaligned access" 0 "vect" } } */ |
92 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" } } */ | 97 /* { dg-final { scan-tree-dump-times "Alignment of access forced using peeling" 2 "vect" { xfail vect_element_align_preferred } } } */ |