This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Speculative prefetching: report


Hello,

> >it is not possible to insert new function calls at rtl level,
> >unfortunately.
> 
> I'm not sure I believe that, but in any case it's certainly possible 
> with
> tree-based profiling.
> 
> Which reminds me, could somebody look at this tree-profiling-branch
> patch to implement value-based profiling in trees?
> http://gcc.gnu.org/ml/gcc-patches/2004-09/msg00439.html

if you find a time, it might be a good idea to try to implement this
patch with the functions for the profiling placed in libgcc and just
calls to them placed in code.  Definitely this would be easier to
maintain and upgrade.  The only problem might be with the performace
(extra overhead of the function calls), but hopefully this should not be
too bad.

Zdenek


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]