CLooG 0.18.4
[cloog.git] / test / stride.good.c
blob73807234c9e62c4221f894ebcfdf2dd0e5b0bdbe
1 /* Generated from stride.cloog by CLooG 0.14.0-200-g26bdb56 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(i) { hash(1); hash(i); }
11 #define S2(i,j) { hash(2); hash(i); hash(j); }
13 void test()
15 /* Scattering iterators. */
16 int c1, c2;
17 /* Original iterators. */
18 int i, j;
19 for (c1=3;c1<=100;c1++) {
20 if (c1 == 25) {
21 S1(25);
23 if (c1%3 == 0) {
24 S2(c1,c1/3);