On 2017.06.09 at 14:17 +0200, Martin Liška wrote:
> Hello.
> 
> I discussed with Honza possibility to speed-up instrumentation that we do for
> indirect call target tracking. By direct emission of:
> 
>      if (__gcov_indirect_call_callee != NULL)
>        __gcov_indirect_call_profiler_v2 (profile_id, &current_function_decl);
> 
> we can save reduce # of execution of __gcov_indirect_call_profiler_v2 
> function.
> I measured that tramp3d (-O2 -fprofile-generate) goes from 7.1s to 6.3s.
> 
> Apart from that I slightly change probability for direct instrumentation of
> time profiler.
> 
> Patch can bootstrap on ppc64le-redhat-linux and survives regression tests.

But it crashes on gcc.dg/pr78582.c with -O0.

-- 
Markus

Reply via email to