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: unassig...@gcc.gnu.org
        ReportedBy: bratsi...@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

Reply via email to