This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug middle-end/35342] New: Full unrolling limitation -- inner most loop only
- From: "xinliangli at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 24 Feb 2008 04:24:52 -0000
- Subject: [Bug middle-end/35342] New: Full unrolling limitation -- inner most loop only
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
Short trip counted loop nest (perfect or not) is not fully unrolled, only the
innnermost loop:
(-O3 -fno-tree-vectorize)
#ifndef TC
#define TC 3
#endif
int a[100][100];
int foo(void)
{
int i, j;
for (i = 0; i < TC; i ++)
{
for (j = 0; j < TC; j++)
a[2*i][j] += a[i][j];
}
return 0;
}
--
Summary: Full unrolling limitation -- inner most loop only
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: middle-end
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: xinliangli at gmail dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35342