public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug middle-end/15760] New: Loop unrolling bug with max-unrolled-insns=200
@ 2004-06-01 10:22 micis at gmx dot de
  2004-06-01 10:28 ` [Bug middle-end/15760] " micis at gmx dot de
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: micis at gmx dot de @ 2004-06-01 10:22 UTC (permalink / raw)
  To: gcc-bugs

It was stated that in the second prerelease of GCC-3.3.4 from 30 May 2004
the -funroll-loop miscompilation has been fixed.

That is true for the default option set. 

However, if you use the options

    -O2 -funroll-loops --param max-unrolled-insns=xxx

execution of memcpy-1.c will still fail for all xxx > 192
(I only tested PowerPC target)

On PowerPC (G5) I found that --param max-unrolled-insns=600 results 
in about 20% - 30% higher speed in my application (mostly Altivec image
processing).

Michael Cieslinski

-- 
           Summary: Loop unrolling bug with max-unrolled-insns=200
           Product: gcc
           Version: 3.3.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: middle-end
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: micis at gmx dot de
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: powerpc-unknown-linux-gnu
  GCC host triplet: powerpc-unknown-linux-gnu
GCC target triplet: powerpc-unknown-linux-gnu


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


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

end of thread, other threads:[~2004-08-14  7:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-01 10:22 [Bug middle-end/15760] New: Loop unrolling bug with max-unrolled-insns=200 micis at gmx dot de
2004-06-01 10:28 ` [Bug middle-end/15760] " micis at gmx dot de
2004-06-01 11:26 ` pinskia at gcc dot gnu dot org
2004-06-01 14:20 ` bangerth at dealii dot org
2004-08-14  7:19 ` pinskia at gcc dot gnu dot 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).