Speculative prefetching: report

Dale Johannesen dalej@apple.com
Fri Oct 15 22:58:00 GMT 2004


On Oct 15, 2004, at 2:35 PM, Zdenek Dvorak wrote:
> 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.

I agree, too bad I didn't think of that implementation until just now :(



More information about the Gcc mailing list