I think using lean procedure call can reduce number of the
instrcutions.
Is it rigth?
But I am not familiar with lean procedure calls in DR
so what should I use insted of the following code for doing lean
procedure call?
/* my new code: call dump dependency */
dr_insert_clean_call(drcontext, ilist, instr,
(void *)dumpDependency, false /* save fpstate */, 2,
OPND_CREATE_INTPTR(tls_data),
opnd_create_base_disp(DR_REG_NULL, reg, 8,
(reg_t)tls_data->counter,
OPSZ_8));
Etem
On 13 Nisan, 23:00, Reid Kleckner <
r...@google.com> wrote:
> Not per basic block, I meant per call site. It's worth looking at the
> generated code, it's very, very large.
>
> Reid
>
>
>
>
>
>
>
> On Fri, Apr 13, 2012 at 3:59 PM, Reid Kleckner <
r...@google.com> wrote:
> > Try lowering -max_bb_instrs even more, clean calls insert ~64 large
> > instructions per basic block, which can easily overflow the max fragment
> > size, especially if you do it once per application memory access.
>
> > Reid
>