Added howto file for a new CLooG release
[cloog.git] / test / uday_scalars.good.c
blobe4969dafb8bda6356cb3660e4779b77d3096f73e
1 /* Generated from ../../../git/cloog/test/uday_scalars.cloog by CLooG 0.14.0-72-gefe2fc2 gmp bits in 0.01s. */
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,l,m) { hash(1); hash(j); hash(l); hash(m); }
11 #define S2(j,l,m) { hash(2); hash(j); hash(l); hash(m); }
13 void test(int n)
15 /* Scattering iterators. */
16 int p3;
17 /* Original iterators. */
18 int j, l, m;
19 for (p3=0;p3<=n;p3++) {
20 S1(p3,0,0) ;
22 for (p3=0;p3<=n;p3++) {
23 S2(0,p3,0) ;