[Bug c/50135] New: Loop optimization.
bratsinot at gmail dot com
gcc-bugzilla@gcc.gnu.org
Sat Aug 20 05:50:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50135
Bug #: 50135
Summary: Loop optimization.
Classification: Unclassified
Product: gcc
Version: 4.6.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: bratsinot@gmail.com
May be single-cycle should translate that:
C code:
for(unsigned int i=0; i<123456; i++)
or
for(unsigned int i=123456; i>0; i--)
Assembler code:
movq 123456, %rcx
L0:
<some code there>
loop LO
More information about the Gcc-bugs
mailing list