1/* Generated from ../../../git/cloog/test/byu98-1-2-3.cloog by CLooG 0.14.0-72-gefe2fc2 gmp bits in 0.01s. */ 2extern void hash(int); 3 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)) 9 10#define S1(i,j) { hash(1); hash(i); hash(j); } 11#define S2(i,j) { hash(2); hash(i); hash(j); } 12 13void test() 14{ 15 /* Original iterators. */ 16 int i, j; 17 for (i=2;i<=3;i++) { 18 for (j=-i+6;j<=6;j++) { 19 S1(i,j) ; 20 } 21 } 22 for (j=3;j<=4;j++) { 23 S1(4,j) ; 24 } 25 S1(4,5) ; 26 S2(4,5) ; 27 S1(4,6) ; 28 S1(5,4) ; 29 S2(5,4) ; 30 for (j=5;j<=6;j++) { 31 S1(5,j) ; 32 } 33 for (i=6;i<=7;i++) { 34 j = -i+9 ; 35 S2(i,-i+9) ; 36 for (j=i-1;j<=6;j++) { 37 S1(i,j) ; 38 } 39 } 40 S2(8,1) ; 41} 42