On 20 April 2015 at 17:48, Kyrill Tkachov <kyrylo.tkac...@arm.com> wrote:
> Hi all,
>
> When calculating the rtx costs of an arithmetic operation combined with
> zero or sign extension of its operand we should use the extend_arith
> cost rather than the arith_shift cost.
>
> Bootstrapped and tested on aarch64-linux.
> Ok for trunk?
>
> Thanks,
> Kyrill
>
> 2015-04-20  Kyrylo Tkachov  <kyrylo.tkac...@arm.com>
>
>     * config/aarch64/aarch64.c (aarch64_rtx_costs): Use extend_arith
>     rather than arith_shift cost when costing ADD/MINUS of an
>     extended value.

OK /Marcus

Reply via email to