File: code_gen-2.c

package info (click to toggle)
isl 0.25-1.1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 19,076 kB
  • sloc: ansic: 223,485; python: 17,715; cpp: 6,637; sh: 4,475; makefile: 713; lisp: 148; perl: 9
file content (15 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (27)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
for (int c1 = 0; c1 <= 7; c1 += 1)
  s0(1, c1);
for (int c0 = 2; c0 <= 6; c0 += 1) {
  for (int c1 = 0; c1 < c0 - 1; c1 += 1)
    s1(c0, c1);
  for (int c1 = c0 - 1; c1 <= 4; c1 += 1) {
    s1(c0, c1);
    s0(c0, c1);
  }
  for (int c1 = 5; c1 <= 7; c1 += 1)
    s0(c0, c1);
}
for (int c0 = 7; c0 <= 8; c0 += 1)
  for (int c1 = c0 - 1; c1 <= 7; c1 += 1)
    s0(c0, c1);