public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/50135] New: Loop optimization.
@ 2011-08-20  5:50 bratsinot at gmail dot com
  2011-08-21  9:22 ` [Bug target/50135] " rguenth at gcc dot gnu.org
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: bratsinot at gmail dot com @ 2011-08-20  5:50 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2021-12-24  4:14 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-20  5:50 [Bug c/50135] New: Loop optimization bratsinot at gmail dot com
2011-08-21  9:22 ` [Bug target/50135] " rguenth at gcc dot gnu.org
2011-08-21 12:01   ` Jan Hubicka
2011-08-21 10:48 ` ubizjak at gmail dot com
2011-08-21 12:02 ` hubicka at ucw dot cz
2021-12-24  4:14 ` pinskia at gcc dot gnu.org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).