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.dg/] [vect/] [pr36228.c] - Blame information for rev 298

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 298 jeremybenn
/* { dg-do compile } */
2
/* { dg-options "-O3 -fdump-tree-vect-details" } */
3
 
4
#define COLS         8
5
#define ROWS         8
6
 
7
int
8
t_run_test(void);
9
 
10
int
11
t_run_test()
12
{
13
     int k_1,i_1, j_1;
14
     static signed char f_1[ROWS][COLS] ;
15
     static long F_1[ROWS][COLS] ;
16
     long cosMatrixA[ROWS][COLS] ;
17
 
18
     for( k_1 = 0 ; k_1 < COLS ; k_1++ )
19
        {
20
            for( i_1 = 0 ; i_1 < ROWS ; i_1++ )
21
            {
22
                for( j_1 = 0 ; j_1 < COLS ; j_1++ )
23
                    F_1[i_1][j_1] += f_1[i_1][k_1] * cosMatrixA[k_1][j_1] ;
24
            }
25
        }
26
 
27
  return 0;
28
}
29
 
30
/* { dg-final { scan-tree-dump-times "versioning for alias required" 0 "vect" } } */
31
/* { dg-final { cleanup-tree-dump "vect" } } */

powered by: WebSVN 2.1.0

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