~ubuntu-branches/ubuntu/wily/cloog/wily-proposed

« back to all changes in this revision

Viewing changes to test/reservoir/mg-interp.c

  • Committer: Package Import Robot
  • Author(s): Matthias Klose
  • Date: 2015-04-24 15:07:57 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20150424150757-wumy8mdonvtgf29j
Tags: 0.18.3-1
* New upstream version.
* Update symbols file.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* Generated from ../../../git/cloog/test/reservoir/mg-interp.cloog by CLooG 0.16.2-5-g590827b gmp bits in 0.29s. */
 
1
/* Generated from ./reservoir/mg-interp.cloog by CLooG 0.18.1-2-g43fc508 gmp bits in 0.16s. */
2
2
if ((M >= 2) && (N >= 2)) {
3
3
  for (c2=1;c2<=O-1;c2++) {
4
4
    for (c6=1;c6<=M;c6++) {
55
55
    for (c4=3;c4<=2*N-5;c4++) {
56
56
      for (c6=1;c6<=M-1;c6++) {
57
57
        if ((c4+1)%2 == 0) {
58
 
          S10(c2,(c4-1)/2,c6);
 
58
          S10(c2,((c4-1)/2),c6);
59
59
        }
60
60
      }
61
61
      for (c6=1;c6<=M;c6++) {
62
62
        if ((c4+1)%2 == 0) {
63
 
          S3(c2,(c4+1)/2,c6);
 
63
          S3(c2,((c4+1)/2),c6);
64
64
        }
65
65
      }
66
66
      for (c6=1;c6<=M-1;c6++) {
67
67
        if (c4%2 == 0) {
68
 
          S6(c2,(c4+2)/2,c6);
 
68
          S6(c2,((c4+2)/2),c6);
69
69
        }
70
70
        if ((c4+1)%2 == 0) {
71
 
          S1(c2,(c4+3)/2,c6);
 
71
          S1(c2,((c4+3)/2),c6);
72
72
        }
73
73
        if (c4%2 == 0) {
74
 
          S7(c2,(c4+2)/2,c6);
 
74
          S7(c2,((c4+2)/2),c6);
75
75
        }
76
76
      }
77
77
      if ((c4+1)%2 == 0) {
78
 
        S1(c2,(c4+3)/2,M);
 
78
        S1(c2,((c4+3)/2),M);
79
79
      }
80
80
      for (c6=1;c6<=M-1;c6++) {
81
81
        if (c4%2 == 0) {
82
 
          S11(c2,c4/2,c6);
 
82
          S11(c2,(c4/2),c6);
83
83
        }
84
84
      }
85
85
    }
86
86
    if (N >= 4) {
87
87
      for (c6=1;c6<=M-1;c6++) {
88
 
        S6(c2,N-1,c6);
89
 
        S7(c2,N-1,c6);
 
88
        S6(c2,(N-1),c6);
 
89
        S7(c2,(N-1),c6);
90
90
      }
91
91
      for (c6=1;c6<=M-1;c6++) {
92
 
        S11(c2,N-2,c6);
 
92
        S11(c2,(N-2),c6);
93
93
      }
94
94
    }
95
95
    if (N >= 3) {
96
96
      for (c6=1;c6<=M-1;c6++) {
97
 
        S10(c2,N-2,c6);
 
97
        S10(c2,(N-2),c6);
98
98
      }
99
99
      for (c6=1;c6<=M;c6++) {
100
 
        S3(c2,N-1,c6);
 
100
        S3(c2,(N-1),c6);
101
101
      }
102
102
    }
103
103
    if (N >= 3) {
104
104
      for (c6=1;c6<=M-1;c6++) {
105
 
        S11(c2,N-1,c6);
 
105
        S11(c2,(N-1),c6);
106
106
      }
107
107
    }
108
108
    for (c6=1;c6<=M-1;c6++) {
109
 
      S10(c2,N-1,c6);
 
109
      S10(c2,(N-1),c6);
110
110
    }
111
111
  }
112
112
}
115
115
    S1(c2,1,1);
116
116
    for (c4=1;c4<=2*N-5;c4++) {
117
117
      if ((c4+1)%2 == 0) {
118
 
        S3(c2,(c4+1)/2,1);
 
118
        S3(c2,((c4+1)/2),1);
119
119
      }
120
120
      if ((c4+1)%2 == 0) {
121
 
        S1(c2,(c4+3)/2,1);
 
121
        S1(c2,((c4+3)/2),1);
122
122
      }
123
123
    }
124
 
    S3(c2,N-1,1);
 
124
    S3(c2,(N-1),1);
125
125
  }
126
126
}
127
127
if ((M >= 2) && (N >= 2)) {
135
135
    for (c4=3;c4<=2*N-2;c4++) {
136
136
      for (c6=1;c6<=M;c6++) {
137
137
        if (c4%2 == 0) {
138
 
          S2(c2,c4/2,c6);
 
138
          S2(c2,(c4/2),c6);
139
139
        }
140
140
      }
141
141
      for (c6=1;c6<=M-1;c6++) {
142
142
        if (c4%2 == 0) {
143
 
          S8(c2,c4/2,c6);
 
143
          S8(c2,(c4/2),c6);
144
144
        }
145
145
      }
146
146
      for (c6=1;c6<=M-1;c6++) {
147
147
        if ((c4+1)%2 == 0) {
148
 
          S9(c2,(c4-1)/2,c6);
 
148
          S9(c2,((c4-1)/2),c6);
149
149
        }
150
150
      }
151
151
    }
152
152
    for (c6=1;c6<=M-1;c6++) {
153
 
      S9(c2,N-1,c6);
 
153
      S9(c2,(N-1),c6);
154
154
    }
155
155
  }
156
156
}
158
158
  for (c2=1;c2<=O-1;c2++) {
159
159
    for (c4=2;c4<=2*N-2;c4++) {
160
160
      if (c4%2 == 0) {
161
 
        S2(c2,c4/2,1);
 
161
        S2(c2,(c4/2),1);
162
162
      }
163
163
    }
164
164
  }