1/* Generated from ../../../git/cloog/test/tiling.cloog by CLooG 0.14.0-72-gefe2fc2 gmp bits in 0.00s. */ 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(ii,i) { hash(1); hash(ii); hash(i); } 11 12void test(int n) 13{ 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) ; 19 } 20 } 21} 22