annotate gcc/testsuite/gcc.c-torture/compile/pr37742-3.c @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 void matmul_i4 (int * __restrict dest_y,
kono
parents:
diff changeset
2 const int * __restrict abase,
kono
parents:
diff changeset
3 const int * __restrict bbase_y,
kono
parents:
diff changeset
4 int count, int xcount, int ycount, int aystride)
kono
parents:
diff changeset
5 {
kono
parents:
diff changeset
6 int x, y, n;
kono
parents:
diff changeset
7 const int * __restrict abase_n;
kono
parents:
diff changeset
8 int bbase_yn;
kono
parents:
diff changeset
9 for (y = 0; y < ycount; y++)
kono
parents:
diff changeset
10 for (n = 0; n < count; n++) {
kono
parents:
diff changeset
11 abase_n = abase + n*aystride;
kono
parents:
diff changeset
12 bbase_yn = bbase_y[n];
kono
parents:
diff changeset
13 for (x = 0; x < xcount; x++)
kono
parents:
diff changeset
14 dest_y[x] += abase_n[x] * bbase_yn;
kono
parents:
diff changeset
15 }
kono
parents:
diff changeset
16 }
kono
parents:
diff changeset
17