CLooG 0.18.4
[cloog.git] / test / walters3.good.c
blob45a1b3338d46637705622a7ea730fa12f16845c1
1 /* Generated from ../../../git/cloog/test/walters3.cloog by CLooG 0.14.0-338-g99c7504 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(j,a,b) { hash(1); hash(j); hash(a); hash(b); }
11 #define S2(j,a,b) { hash(2); hash(j); hash(a); hash(b); }
13 void test()
15 /* Original iterators. */
16 int j, a, b;
17 for (j=2;j<=8;j++) {
18 if (j%2 == 0) {
19 S1(j,j/2,j/2);
20 S2(j,j/2,j/2);
23 S2(10,5,5);