CLooG 0.18.4
[cloog.git] / test / tiling.good.c
blobb7362867fed2e2145942b6dd582ae1b623aecd8d
1 /* Generated from ../../../git/cloog/test/tiling.cloog by CLooG 0.14.0-72-gefe2fc2 gmp bits in 0.00s. */
2 extern void hash(int);
4 /* Useful macros. */
5 #define floord(n,d) (((n)<0) ? -((-(n)+(d)-1)/(d)) : (n)/(d))
6 #define ceild(n,d) (((n)<0) ? -((-(n))/(d)) : ((n)+(d)-1)/(d))
7 #define max(x,y) ((x) > (y) ? (x) : (y))
8 #define min(x,y) ((x) < (y) ? (x) : (y))
10 #define S1(ii,i) { hash(1); hash(ii); hash(i); }
12 void test(int n)
14 /* Original iterators. */
15 int ii, i;
16 for (ii=0;ii<=floord(n,10);ii++) {
17 for (i=max(10*ii,0);i<=min(10*ii+9,n);i++) {
18 S1(ii,i) ;