> > > "Linthicum, Tony" <[EMAIL PROTECTED]> writes:
...
> > > * What is the best way to access target level cost information?
> >
> > I'm sure you know that the loop code does this by generating RTL and
> > asking for the cost of it (computation_cost in tree-ssa-loop-ivopts.c).
>
> Which should
> As a first step, to stay on conservative side, it makes sense
> consider the scalar cost of smaller block while calculating scalar cost.
> Note, smaller block may not exist.
I think that this should be considwered quite common.
We should base the weights of the costs of the two blocks on branch
Hello,
> "Linthicum, Tony" <[EMAIL PROTECTED]> writes:
>
> > * Would using a tree-level API like estimate_num_insns be superior
> > to using a simple cost of 1 per statment?
>
> For this sort of calculation, I would guess not. I would imagine that
> on most processors the cost of a single
"Linthicum, Tony" <[EMAIL PROTECTED]> writes:
> * Would using a tree-level API like estimate_num_insns be superior
> to using a simple cost of 1 per statment?
For this sort of calculation, I would guess not. I would imagine that
on most processors the cost of a single vector instruction is