public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/60879] New: Wrong decision in decide_alg
@ 2014-04-18  0:33 hjl.tools at gmail dot com
  2014-04-18  7:14 ` [Bug target/60879] Wrong decision in decide_alg in i386.c jakub at gcc dot gnu.org
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: hjl.tools at gmail dot com @ 2014-04-18  0:33 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=60879

            Bug ID: 60879
           Summary: Wrong decision in decide_alg
           Product: gcc
           Version: 4.10.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hjl.tools at gmail dot com
                CC: ubizjak at gmail dot com

decide_alg has

  /* Very tiny blocks are best handled via the loop, REP is expensive to
     setup.  */
  else if (expected_size != -1 && expected_size < 4)
    return loop_1_byte;

We use 1-byte loop on fixed size 1, 2 and 3.  We should simply unroll
loop.


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

end of thread, other threads:[~2021-08-28 19:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-18  0:33 [Bug target/60879] New: Wrong decision in decide_alg hjl.tools at gmail dot com
2014-04-18  7:14 ` [Bug target/60879] Wrong decision in decide_alg in i386.c jakub at gcc dot gnu.org
2014-04-18 15:59 ` hjl.tools at gmail dot com
2021-08-28 19:02 ` 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).