public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug rtl-optimization/60317] New: [4.9 Regression] find_hard_regno_for compile time hog in libvpx
@ 2014-02-22 14:24 trippels at gcc dot gnu.org
  2014-02-22 14:24 ` [Bug rtl-optimization/60317] " trippels at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: trippels at gcc dot gnu.org @ 2014-02-22 14:24 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 60317
           Summary: [4.9 Regression] find_hard_regno_for compile time hog
                    in libvpx
           Product: gcc
           Version: 4.9.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: trippels at gcc dot gnu.org
                CC: vmakarov at gcc dot gnu.org

While building Firefox I've noticed that there is a file from libvpx
that takes almost 2 minutes to compile on my machine:

 % time gcc -O3 -c sad_c.i
gcc -O3 -c sad_c.i  111.05s user 0.78s system 99% cpu 1:52.10 total

 phase opt and generate  : 110.92 (100%) usr   0.43 (100%) sys 111.43 (100%)
wall  168173 kB (99%) ggc

Perf shows:
 87.86%  cc1  cc1   [.] find_hard_regno_for(int, int*, int)
   - find_hard_regno_for(int, int*, int)
        99.77% 0x10101010101
  0.72%  cc1  cc1   [.] find_base_term(rtx_def*)


It's fine with -O2 or 4.8.3:

 % time gcc -O2 -c sad_c.i
gcc -O2 -c sad_c.i  0.25s user 0.02s system 99% cpu 0.273 total

 phase opt and generate  :   0.23 (96%) usr   0.02 (100%) sys   0.25 (93%) wall
   8876 kB (84%) ggc

 % time /usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3/gcc -w -O3 -c sad_c.i
/usr/x86_64-pc-linux-gnu/gcc-bin/4.8.3/gcc -w -O3 -c sad_c.i  0.94s user 0.02s
system 99% cpu 0.964 total


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

end of thread, other threads:[~2014-02-26 10:30 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-22 14:24 [Bug rtl-optimization/60317] New: [4.9 Regression] find_hard_regno_for compile time hog in libvpx trippels at gcc dot gnu.org
2014-02-22 14:24 ` [Bug rtl-optimization/60317] " trippels at gcc dot gnu.org
2014-02-22 14:27 ` trippels at gcc dot gnu.org
2014-02-23 10:50 ` trippels at gcc dot gnu.org
2014-02-24 11:35 ` rguenth at gcc dot gnu.org
2014-02-24 11:36 ` rguenth at gcc dot gnu.org
2014-02-25 20:35 ` vmakarov at gcc dot gnu.org
2014-02-26  7:13 ` trippels at gcc dot gnu.org
2014-02-26 10:30 ` rguenth 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).