summaryrefslogtreecommitdiff
path: root/test-chill/with/test_shift.py.out
blob: 6eaa2447e008bb13d3a585d028accc244dd4717d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#define __rose_lt(x,y) ((x)<(y)?(x):(y))
#define __rose_gt(x,y) ((x)>(y)?(x):(y))

void mm(float **A,float **B,float **C,int ambn,int an,int bm)
{
  int t6;
  int t4;
  int t2;
  int i;
  int j;
  int n;
  for (t2 = 0; t2 <= an + 3; t2 += 1) 
    for (t4 = 0; t4 <= bm - 1; t4 += 1) 
      if (t2 + 1 <= an) {
        C[t2][t4] = 0.0f;
        if (4 <= t2) 
          C[t2 - 4][t4] += (A[t2 - 4][0] * B[0][t4]);
        if (4 <= t2) 
          for (t6 = 1; t6 <= ambn - 1; t6 += 1) 
            C[t2 - 4][t4] += (A[t2 - 4][t6] * B[t6][t4]);
      }
      else if (4 <= t2) 
        for (t6 = 0; t6 <= ambn - 1; t6 += 1) 
          C[t2 - 4][t4] += (A[t2 - 4][t6] * B[t6][t4]);
}