1 | for (int c0 = 0; c0 < n - 31; c0 += 32) |
2 | for (int c1 = 0; c1 <= n; c1 += 32) { |
3 | if (n >= c1 + 32) { |
4 | for (int c2 = 0; c2 <= 31; c2 += 1) |
5 | for (int c3 = 0; c3 <= 31; c3 += 1) |
6 | S_1(c0 + c2, c1 + c3); |
7 | } else { |
8 | for (int c2 = 0; c2 <= 31; c2 += 1) { |
9 | for (int c3 = 0; c3 < n - c1; c3 += 1) |
10 | S_1(c0 + c2, c1 + c3); |
11 | S_2(c0 + c2); |
12 | } |
13 | } |
14 | } |
15 | for (int c1 = 0; c1 < n; c1 += 32) { |
16 | if (n >= c1 + 32) { |
17 | for (int c2 = 0; c2 < (n + 32) % 32; c2 += 1) |
18 | for (int c3 = 0; c3 <= 31; c3 += 1) |
19 | S_1(-((n + 32) % 32) + n + c2, c1 + c3); |
20 | } else { |
21 | for (int c2 = 0; c2 < n - c1; c2 += 1) { |
22 | for (int c3 = 0; c3 < n - c1; c3 += 1) |
23 | S_1(c1 + c2, c1 + c3); |
24 | S_2(c1 + c2); |
25 | } |
26 | } |
27 | } |
28 | |