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

« back to all changes in this revision

Viewing changes to test/levenshtein-1-2-3.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/levenshtein-1-2-3.cloog by CLooG 0.14.0-136-gb91ef26 gmp bits in 0.12s. */
2
 
S1(0,0) ;
3
 
S2(1,0) ;
4
 
S3(1,1) ;
 
1
/* Generated from ./levenshtein-1-2-3.cloog by CLooG 0.18.1-2-g43fc508 gmp bits in 0.01s. */
 
2
S1(0,0);
 
3
S2(1,0);
 
4
S3(1,1);
5
5
for (i=2;i<=N;i++) {
6
 
  S2(i,0) ;
 
6
  S2(i,0);
7
7
  for (j=1;j<=i-1;j++) {
8
 
    S6(i,j) ;
 
8
    S6(i,j);
9
9
  }
10
 
  S3(i,i) ;
 
10
  S3(i,i);
11
11
}
12
 
S7(N+1,0) ;
 
12
S7((N+1),0);
13
13
for (j=1;j<=N;j++) {
14
 
  S6(N+1,j) ;
15
 
  S8(N+1,j) ;
 
14
  S6((N+1),j);
 
15
  S8((N+1),j);
16
16
}
17
17
for (i=N+2;i<=2*M-N-2;i++) {
18
 
  j = floord(i-N-1,2) ;
19
 
  S7(i,j) ;
 
18
  j = floord(i-N-1,2);
 
19
  S7(i,j);
20
20
  if ((i+N)%2 == 0) {
21
 
    S5(i,(i-N)/2) ;
22
 
    S8(i,(i-N)/2) ;
 
21
    S5(i,((i-N)/2));
 
22
    S8(i,((i-N)/2));
23
23
  }
24
24
  for (j=ceild(i-N+1,2);j<=floord(i+N-1,2);j++) {
25
 
    S6(i,j) ;
26
 
    S8(i,j) ;
 
25
    S6(i,j);
 
26
    S8(i,j);
27
27
  }
28
28
  if ((i+N)%2 == 0) {
29
 
    S4(i,(i+N)/2) ;
30
 
    S8(i,(i+N)/2) ;
 
29
    S4(i,((i+N)/2));
 
30
    S8(i,((i+N)/2));
31
31
  }
32
32
}
33
33
for (i=2*M-N-1;i<=2*M-2;i++) {
34
34
  for (j=i-M+1;j<=M-1;j++) {
35
 
    S6(i,j) ;
 
35
    S6(i,j);
36
36
  }
37
37
}