public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug optimization/13987] New: [3.4?/3.5 Regression] compile time regression while compile fold-const.i
@ 2004-02-03  1:39 pinskia at gcc dot gnu dot org
  2004-02-03  1:47 ` [Bug optimization/13987] " pinskia at gcc dot gnu dot org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-02-03  1:39 UTC (permalink / raw)
  To: gcc-bugs

While looking for files which take a long time to compile, I remembered that I had a fold-
const.i for a cross compiler to powerpc64-linux-gnu and that took about a minute to finish 
to build (this was back in june).
So I decided to see if compile time had increased or decreased and it looks like it 
increased but it looks like memory usage had been decreased though.

[zhivago2:~/src/testspeed] pinskia% time ~/fsf-clean-nocheck/bin/gcc -O3 fold-const.i -
ftime-report -S

Execution times (seconds)
 garbage collection    :   2.38 ( 2%) usr   0.06 ( 0%) sys   2.51 ( 2%) wall
 callgraph construction:   0.27 ( 0%) usr   0.03 ( 0%) sys   0.31 ( 0%) wall
 cfg construction      :   0.46 ( 0%) usr   0.17 ( 1%) sys   0.65 ( 1%) wall
 cfg cleanup           :   0.80 ( 1%) usr   0.03 ( 0%) sys   0.83 ( 1%) wall
 trivially dead code   :   2.16 ( 2%) usr   0.06 ( 0%) sys   2.39 ( 2%) wall
 life analysis         :   2.23 ( 2%) usr   0.36 ( 2%) sys   2.74 ( 2%) wall
 life info update      :   2.76 ( 3%) usr   0.01 ( 0%) sys   2.89 ( 3%) wall
 alias analysis        :   2.17 ( 2%) usr   0.07 ( 0%) sys   2.23 ( 2%) wall
 register scan         :   1.38 ( 1%) usr   0.02 ( 0%) sys   1.44 ( 1%) wall
 rebuild jump labels   :   0.55 ( 1%) usr   0.00 ( 0%) sys   0.59 ( 1%) wall
 preprocessing         :   0.64 ( 1%) usr   1.68 (11%) sys   2.44 ( 2%) wall
 lexical analysis      :   1.18 ( 1%) usr   3.80 (25%) sys   5.23 ( 5%) wall
 parser                :   1.26 ( 1%) usr   1.94 (13%) sys   3.18 ( 3%) wall
 expand                :   1.13 ( 1%) usr   0.03 ( 0%) sys   1.20 ( 1%) wall
 varconst              :   0.00 ( 0%) usr   0.03 ( 0%) sys   0.03 ( 0%) wall
 integration           :   0.20 ( 0%) usr   0.00 ( 0%) sys   0.21 ( 0%) wall
 jump                  :   1.89 ( 2%) usr   0.20 ( 1%) sys   2.05 ( 2%) wall
 CSE                   :   4.46 ( 5%) usr   0.08 ( 1%) sys   4.55 ( 4%) wall
 global CSE            :  18.95 (20%) usr   1.96 (13%) sys  21.54 (19%) wall
 loop analysis         :   0.66 ( 1%) usr   0.20 ( 1%) sys   0.90 ( 1%) wall
 bypass jumps          :   0.99 ( 1%) usr   0.26 ( 2%) sys   1.24 ( 1%) wall
 web                   :   1.59 ( 2%) usr   0.07 ( 0%) sys   1.65 ( 1%) wall
 CSE 2                 :   2.12 ( 2%) usr   0.03 ( 0%) sys   2.25 ( 2%) wall
 branch prediction     :   0.58 ( 1%) usr   0.03 ( 0%) sys   0.61 ( 1%) wall
 flow analysis         :   0.08 ( 0%) usr   0.01 ( 0%) sys   0.10 ( 0%) wall
 combiner              :   5.61 ( 6%) usr   0.04 ( 0%) sys   5.74 ( 5%) wall
 if-conversion         :   0.20 ( 0%) usr   0.02 ( 0%) sys   0.23 ( 0%) wall
 regmove               :   0.38 ( 0%) usr   0.00 ( 0%) sys   0.38 ( 0%) wall
 scheduling            :   9.00 ( 9%) usr   3.16 (21%) sys  12.43 (11%) wall
 local alloc           :  21.82 (23%) usr   0.17 ( 1%) sys  22.41 (20%) wall
 global alloc          :   2.74 ( 3%) usr   0.31 ( 2%) sys   3.09 ( 3%) wall
 reload CSE regs       :   1.75 ( 2%) usr   0.02 ( 0%) sys   1.82 ( 2%) wall
 flow 2                :   0.20 ( 0%) usr   0.03 ( 0%) sys   0.20 ( 0%) wall
 if-conversion 2       :   0.12 ( 0%) usr   0.02 ( 0%) sys   0.13 ( 0%) wall
 rename registers      :   0.95 ( 1%) usr   0.07 ( 0%) sys   1.11 ( 1%) wall
 scheduling 2          :   1.14 ( 1%) usr   0.07 ( 0%) sys   1.26 ( 1%) wall
 reorder blocks        :   0.14 ( 0%) usr   0.01 ( 0%) sys   0.13 ( 0%) wall
 shorten branches      :   0.19 ( 0%) usr   0.02 ( 0%) sys   0.19 ( 0%) wall
 final                 :   0.55 ( 1%) usr   0.02 ( 0%) sys   0.61 ( 1%) wall
 symout                :   0.00 ( 0%) usr   0.06 ( 0%) sys   0.06 ( 0%) wall
 rest of compilation   :   0.89 ( 1%) usr   0.10 ( 1%) sys   1.03 ( 1%) wall
 TOTAL                 :  96.60            15.30           114.68
96.610u 15.360s 1:55.56 96.8%   0+0k 1+6io 0pf+0w
[zhivago2:~/src/testspeed] pinskia% time ~/gcc-3.3/bin/gcc -O3 fold-const.i -ftime-report -
S

Execution times (seconds)
 garbage collection    :   2.67 ( 4%) usr   0.07 ( 0%) sys   2.75 ( 3%) wall
 cfg construction      :   0.36 ( 1%) usr   0.09 ( 1%) sys   0.50 ( 1%) wall
 cfg cleanup           :   0.51 ( 1%) usr   0.02 ( 0%) sys   0.50 ( 1%) wall
 trivially dead code   :   2.18 ( 3%) usr   0.02 ( 0%) sys   2.38 ( 3%) wall
 life analysis         :   2.65 ( 4%) usr   0.61 ( 4%) sys   3.00 ( 3%) wall
 life info update      :   2.13 ( 3%) usr   0.53 ( 4%) sys   3.12 ( 4%) wall
 preprocessing         :   0.74 ( 1%) usr   1.87 (12%) sys   2.38 ( 3%) wall
 lexical analysis      :   1.31 ( 2%) usr   3.45 (23%) sys   5.88 ( 7%) wall
 parser                :   1.18 ( 2%) usr   2.00 (13%) sys   2.38 ( 3%) wall
 expand                :   0.80 ( 1%) usr   0.12 ( 1%) sys   1.12 ( 1%) wall
 varconst              :   0.01 ( 0%) usr   0.03 ( 0%) sys   0.12 ( 0%) wall
 integration           :   0.13 ( 0%) usr   0.02 ( 0%) sys   0.12 ( 0%) wall
 jump                  :   1.96 ( 3%) usr   0.18 ( 1%) sys   2.50 ( 3%) wall
 CSE                   :   5.08 ( 7%) usr   0.77 ( 5%) sys   5.50 ( 6%) wall
 global CSE            :   7.69 (11%) usr   1.35 ( 9%) sys   9.00 (10%) wall
 loop analysis         :   0.86 ( 1%) usr   0.23 ( 2%) sys   1.25 ( 1%) wall
 CSE 2                 :   2.35 ( 3%) usr   0.39 ( 3%) sys   2.12 ( 2%) wall
 branch prediction     :   0.86 ( 1%) usr   0.01 ( 0%) sys   1.12 ( 1%) wall
 flow analysis         :   0.23 ( 0%) usr   0.01 ( 0%) sys   0.12 ( 0%) wall
 combiner              :   5.21 ( 7%) usr   0.16 ( 1%) sys   6.50 ( 7%) wall
 if-conversion         :   0.20 ( 0%) usr   0.02 ( 0%) sys   0.62 ( 1%) wall
 regmove               :   0.40 ( 1%) usr   0.01 ( 0%) sys   0.38 ( 0%) wall
 scheduling            :   6.04 ( 9%) usr   2.25 (15%) sys   8.75 (10%) wall
 local alloc           :  15.43 (22%) usr   0.14 ( 1%) sys  15.75 (18%) wall
 global alloc          :   2.45 ( 3%) usr   0.34 ( 2%) sys   2.38 ( 3%) wall
 reload CSE regs       :   2.60 ( 4%) usr   0.03 ( 0%) sys   2.62 ( 3%) wall
 flow 2                :   0.31 ( 0%) usr   0.03 ( 0%) sys   0.25 ( 0%) wall
 if-conversion 2       :   0.06 ( 0%) usr   0.03 ( 0%) sys   0.00 ( 0%) wall
 rename registers      :   1.14 ( 2%) usr   0.04 ( 0%) sys   1.25 ( 1%) wall
 scheduling 2          :   0.92 ( 1%) usr   0.02 ( 0%) sys   0.88 ( 1%) wall
 reorder blocks        :   0.10 ( 0%) usr   0.00 ( 0%) sys   0.00 ( 0%) wall
 shorten branches      :   0.20 ( 0%) usr   0.00 ( 0%) sys   0.38 ( 0%) wall
 final                 :   0.38 ( 1%) usr   0.08 ( 1%) sys   0.50 ( 1%) wall
 symout                :   0.02 ( 0%) usr   0.02 ( 0%) sys   0.00 ( 0%) wall
 rest of compilation   :   0.95 ( 1%) usr   0.05 ( 0%) sys   0.88 ( 1%) wall
 TOTAL                 :  70.14            15.03            87.12
70.160u 15.080s 1:27.50 97.4%   0+0k 0+7io 0pf+0w

I will attach fold-const.i.

-- 
           Summary: [3.4?/3.5 Regression] compile time regression while
                    compile fold-const.i
           Product: gcc
           Version: 3.5.0
            Status: UNCONFIRMED
          Keywords: compile-time-hog
          Severity: critical
          Priority: P1
         Component: optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
GCC target triplet: powerpc-apple-darwin7.2.0


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


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

end of thread, other threads:[~2005-07-22 23:42 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-02-03  1:39 [Bug optimization/13987] New: [3.4?/3.5 Regression] compile time regression while compile fold-const.i pinskia at gcc dot gnu dot org
2004-02-03  1:47 ` [Bug optimization/13987] " pinskia at gcc dot gnu dot org
2004-02-03  2:02 ` pinskia at gcc dot gnu dot org
2004-02-03  2:07 ` pinskia at gcc dot gnu dot org
2004-02-03  2:40 ` [Bug optimization/13987] [3.4/3.5 " pinskia at gcc dot gnu dot org
2004-05-18 15:42 ` [Bug rtl-optimization/13987] " pinskia at gcc dot gnu dot org
2004-06-06  3:49 ` giovannibajo at libero dot it
2004-06-08  0:52 ` pinskia at gcc dot gnu dot org
2004-06-08  2:55 ` pinskia at gcc dot gnu dot org
2004-06-08  4:11 ` pinskia at gcc dot gnu dot org
2004-06-18 23:53 ` mmitchel at gcc dot gnu dot org
2004-08-10  1:38 ` pinskia at gcc dot gnu dot org
2004-08-12  8:12 ` steven at gcc dot gnu dot org
2004-08-29  1:17 ` pinskia at gcc dot gnu dot org
2004-08-29 18:47 ` mmitchel at gcc dot gnu dot org
2004-08-31  0:29 ` cvs-commit at gcc dot gnu dot org
2004-08-31  0:32 ` [Bug rtl-optimization/13987] [3.4 " pinskia at gcc dot gnu dot org
2004-09-07 21:44 ` cvs-commit at gcc dot gnu dot org
2004-09-24  4:13 ` pinskia at gcc dot gnu dot org
2004-10-30 20:03 ` mmitchel at gcc dot gnu dot org
2005-04-19 14:54 ` pinskia at gcc dot gnu dot org
2005-05-19 17:26 ` mmitchel at gcc dot gnu dot org
2005-07-22 23:43 ` 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).