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

« back to all changes in this revision

Viewing changes to isl/test_inputs/codegen/cloog/darte.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
1
for (int c0 = -n + 1; c0 <= n; c0 += 1) {
2
2
  if (c0 <= 0)
3
3
    for (int c2 = -c0 + 4; c2 <= 2 * n - c0 + 2; c2 += 2)
4
 
      S1(1, -c0 + 1, (c0 + c2 - 2) / 2);
5
 
  for (int c1 = max(c0 + 2, -c0 + 4); c1 <= min(2 * n + c0, 2 * n - c0); c1 += 2) {
 
4
      S1(1, -c0 + 1, ((c0 + c2) / 2) - 1);
 
5
  for (int c1 = max(c0 + 2, -c0 + 4); c1 <= min(2 * n - c0, 2 * n + c0); c1 += 2) {
6
6
    for (int c2 = c1 + 2; c2 <= 2 * n + c1; c2 += 2)
7
7
      S1((c0 + c1) / 2, (-c0 + c1) / 2, (-c1 + c2) / 2);
8
8
    for (int c2 = 1; c2 <= n; c2 += 1)
9
 
      S2((c0 + c1 - 2) / 2, (-c0 + c1) / 2, c2);
 
9
      S2(((c0 + c1) / 2) - 1, (-c0 + c1) / 2, c2);
10
10
  }
11
11
  if (c0 >= 1)
12
12
    for (int c2 = 1; c2 <= n; c2 += 1)