OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.5.1/] [gcc/] [testsuite/] [gcc.c-torture/] [compile/] [pr37742-3.c] - Blame information for rev 301

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 297 jeremybenn
void matmul_i4 (int * __restrict dest_y,
2
                const int * __restrict abase,
3
                const int * __restrict bbase_y,
4
                int count, int xcount, int ycount, int aystride)
5
{
6
  int x, y, n;
7
  const int * __restrict abase_n;
8
  int bbase_yn;
9
  for (y = 0; y < ycount; y++)
10
    for (n = 0; n < count; n++) {
11
        abase_n = abase + n*aystride;
12
        bbase_yn = bbase_y[n];
13
        for (x = 0; x < xcount; x++)
14
          dest_y[x] += abase_n[x] * bbase_yn;
15
    }
16
}
17
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.