Mercurial > hg > CbC > CbC_gcc
comparison gcc/testsuite/gcc.dg/vect/vect-reduc-pattern-1a.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 > 128 | |
7 #define N (VECTOR_BITS * 2 / 16) | |
8 #else | |
6 #define N 16 | 9 #define N 16 |
10 #endif | |
11 | |
7 unsigned short udata_sh[N] = | 12 unsigned short udata_sh[N] = |
8 { 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28 }; | 13 { 0, 2, 4, 6, 8, 10, 12, 14, 16, 18, 20, 22, 24, 26, 28 }; |
9 #define SUM 210 | 14 #define SUM 210 |
10 | 15 |
11 __attribute__ ((noinline)) int | 16 __attribute__ ((noinline)) int |