CLooG 0.18.4
[cloog.git] / test / openscop / union.c
blob5922af6fa610457f56d00fc158296048a2ecfc78
1 /* Generated from ./openscop/union.scop by CLooG 0.18.3 gmp bits in 0.01s. */
2 /* Useful macros. */
3 #define floord(n,d) (((n)<0) ? -((-(n)+(d)-1)/(d)) : (n)/(d))
4 #define ceild(n,d) (((n)<0) ? -((-(n))/(d)) : ((n)+(d)-1)/(d))
5 #define max(x,y) ((x) > (y) ? (x) : (y))
6 #define min(x,y) ((x) < (y) ? (x) : (y))
8 #ifdef TIME
9 #define IF_TIME(foo) foo;
10 #else
11 #define IF_TIME(foo)
12 #endif
14 /* Scattering iterators. */
15 int c2, c4;
16 /* Original iterators. */
17 int i, j;
19 if (N >= 1) {
20 for (c2=0;c2<=N-1;c2++) {
21 for (c4=0;c4<=min(10,N-1);c4++) {
22 C[c2+c4]+=A[c2]*B[c4];
24 for (c4=20;c4<=N-1;c4++) {
25 C[c2+c4]+=A[c2]*B[c4];