File: unroll4.c

package info (click to toggle)
cloog 0.18.4-1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 19,696 kB
  • sloc: ansic: 141,371; sh: 11,621; makefile: 1,040; fortran: 125; python: 72; perl: 9
file content (22 lines) | stat: -rw-r--r-- 914 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
{
  write_shared_A(3, ((t1 + 3) % 4) + 1, ((t2 + 31) % 32) + 1);
  if (t2 >= 1 && t2 <= 2 && t1 % 3 == 0)
    write_shared_A(3, (-t1 / 3) + 4, t2 + 32);
  {
    int c3 = t2 >= 2 && ((t1 + 3) % 4) + 1 >= t2 ? t2 + 32 : ((t2 + 30) % 32) + 2;
    if (c3 == t2 + 32 || (c3 == t2 && t2 >= ((t1 + 3) % 4) + ((t2 - 1) % 2) + 2))
      write_shared_A(3, ((t1 + 3) % 4) + 5, c3);
  }
  if (t1 >= 1 && t2 >= t1 + 1 && t2 <= 4)
    write_shared_A(3, t1 + 4, t2 + 32);
  write_shared_A(4, ((t1 + 3) % 4) + 1, ((t2 + 31) % 32) + 1);
  if (t2 >= 1 && t2 <= 2 && t1 % 3 == 0)
    write_shared_A(4, (-t1 / 3) + 4, t2 + 32);
  {
    int c3 = t2 >= 2 && ((t1 + 3) % 4) + 1 >= t2 ? t2 + 32 : ((t2 + 30) % 32) + 2;
    if (c3 == t2 + 32 || (c3 == t2 && t2 >= ((t1 + 3) % 4) + ((t2 - 1) % 2) + 2))
      write_shared_A(4, ((t1 + 3) % 4) + 5, c3);
  }
  if (t1 >= 1 && t2 >= t1 + 1 && t2 <= 4)
    write_shared_A(4, t1 + 4, t2 + 32);
}