annotate gcc/testsuite/gcc.c-torture/compile/pr37742-3.c @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
145
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
1 /* { dg-skip-if "too many arguments in function call" { bpf-*-* } } */
1830386684a0 gcc-9.2.0
anatofuz
parents: 111
diff changeset
2
111
kono
parents:
diff changeset
3 void matmul_i4 (int * __restrict dest_y,
kono
parents:
diff changeset
4 const int * __restrict abase,
kono
parents:
diff changeset
5 const int * __restrict bbase_y,
kono
parents:
diff changeset
6 int count, int xcount, int ycount, int aystride)
kono
parents:
diff changeset
7 {
kono
parents:
diff changeset
8 int x, y, n;
kono
parents:
diff changeset
9 const int * __restrict abase_n;
kono
parents:
diff changeset
10 int bbase_yn;
kono
parents:
diff changeset
11 for (y = 0; y < ycount; y++)
kono
parents:
diff changeset
12 for (n = 0; n < count; n++) {
kono
parents:
diff changeset
13 abase_n = abase + n*aystride;
kono
parents:
diff changeset
14 bbase_yn = bbase_y[n];
kono
parents:
diff changeset
15 for (x = 0; x < xcount; x++)
kono
parents:
diff changeset
16 dest_y[x] += abase_n[x] * bbase_yn;
kono
parents:
diff changeset
17 }
kono
parents:
diff changeset
18 }
kono
parents:
diff changeset
19