public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/53125] New: Very slow register allocation on SPARC
@ 2012-04-25 22:11 ian at airs dot com
  2012-04-25 22:35 ` [Bug rtl-optimization/53125] " ian at airs dot com
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: ian at airs dot com @ 2012-04-25 22:11 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 53125
           Summary: Very slow register allocation on SPARC
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: ian@airs.com
                CC: ro@gcc.gnu.org, vmakarov@redhat.com
            Target: sparc-sun-solaris2.11


Created attachment 27244
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27244
Test case

The attached test case is a conversion to C of a machine generated test case in
Go (the machine generated Go source is in
gcc/testsuite/go.test/test/cmpldivide1.go).

When I compile this test case without optimization on an x86_64 GNU/Linux
system, it takes 5.8 seconds.  When I compile it without optimization on a
SPARC Solaris 2.11 system, it takes 2 minutes 32.8 seconds.  The SPARC machine
is slower than the x86_64 machine.  But it's not that much slower.

According to -ftime-report on the SPARC system, 45% of the time is "register
information" and 41% of the time is "integrated RA."

Since the file is machine generated, I would be willing to accept a 2 1/2
minute compilation time with optimization.  But without optimization it is just
too slow.  And the discrepancy with x86_64 is extreme.


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

end of thread, other threads:[~2012-05-17 18:11 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-04-25 22:11 [Bug rtl-optimization/53125] New: Very slow register allocation on SPARC ian at airs dot com
2012-04-25 22:35 ` [Bug rtl-optimization/53125] " ian at airs dot com
2012-04-29  0:09 ` vmakarov at redhat dot com
2012-05-10 18:37 ` vmakarov at redhat dot com
2012-05-10 18:38 ` steven at gcc dot gnu.org
2012-05-10 20:00 ` vmakarov at gcc dot gnu.org
2012-05-10 22:35 ` steven at gcc dot gnu.org
2012-05-11  9:23 ` [Bug rtl-optimization/53125] Very slow compilation " steven at gcc dot gnu.org
2012-05-11  9:35 ` rguenth at gcc dot gnu.org
2012-05-17 18:11 ` steven at gcc dot gnu.org
2012-05-17 18:35 ` steven 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).