Update m4 script for Clang build
[cloog/uuh.git] / test / dealII.good.c
blob9a220ffd3bcec1145b821fc34ad9ed039d386443
1 /* Generated from ../../../git/cloog/test/dealII.cloog by CLooG 0.14.0-270-g7ee1261 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(scat_0) { hash(1); hash(scat_0); }
11 #define S2(scat_0) { hash(2); hash(scat_0); }
13 void test(int T_2, int T_67, int T_66)
15 /* Original iterators. */
16 int scat_0;
17 for (scat_0=0;scat_0<=min(T_66,T_2-1);scat_0++) {
18 S1(scat_0);
19 S2(scat_0);
21 if ((T_2 == 0) && (T_67 == 0)) {
22 S1(0);
24 for (scat_0=max(0,T_66+1);scat_0<=T_2-1;scat_0++) {
25 S1(scat_0);
27 for (scat_0=T_2;scat_0<=min(T_66,T_67-1);scat_0++) {
28 S2(scat_0);