create new tag
view all tags


See Gcc-4.0.1 notes on installation.

Function cloning

Files changed (not all of them due to cloning):

U    gcc/flags.h
U    gcc/cgraph.c
U    gcc/tree-pass.h
U    gcc/cgraphunit.c
U    gcc/dominance.c
U    gcc/opts.c
U    gcc/c-decl.c
U    gcc/bop-dep-prof.c
A    gcc/fastrack-profile.c
A    gcc/fastrack-profile.h
U    gcc/common.opt
U    gcc/bop-inst.c
U    gcc/tree-optimize.c
U    gcc/bop-inst.h
A    gcc/ft-clone.c
A    gcc/ft-clone.h
U    gcc/main.c
U    gcc/tree-cfg.c
U    gcc/passes.c

Parallelism profiling

-- TongxinBai 1/14/2007
  • Dependence Tracing Tool (DTT) Usage:
    • use -O3 optimization option to enable the profiling support
    • use -ftrace-dep option to turn on the dependence trace profiling
    • create a text file "functions.in" under the source dir to specify a list of functions to be examined, one function name per line.
    • link against the compiled DTT tool so that the instrumentation functions get defined.
    • the DTT tool source file could be checked out from "file:///p/compiler/repos/tools/dep-traces.c"
    • after each profiling run, there will be two output files dumped, deptrace.prof and rgntrace.prof
      • deptrace.prof contains the whole dependence trace where each dependence is described by a source and sink time pair followed by source locations.
      • rgntrace.prof records all the entering and leaving times of the profiled functions.
    • the deptrace.prof could be plotted in flat time space or you may use file:///p/compiler/repos/tools/process-deptrace.pl to parse the trace to get the pure source level information.

  • Source code
    • new files added: bop-dep-prof.c bop-dep-prof.h

Trimming the package

The initial directory has 256MB. I have removed the following:

  • in libstdc++-v3
    • removed doc and testsuites
  • in gcc
    • removed ChangeLog*
    • removed doc
    • in po, removed *.po and *.pmo
    • in config, removed largest files/dirs except for i386 and sh

The new directory has 166MB. The compilation is fine until it tries to produce the man page directory.

Edit | Attach | Watch | Print version | History: r9 < r8 < r7 < r6 < r5 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r9 - 2008-08-20 - ChenDing
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2020 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback