Re: [PATCH][AArch64] Use extend_arith rtx cost appropriately

2015-04-30 Thread Marcus Shawcroft
On 20 April 2015 at 17:48, Kyrill Tkachov 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

[PATCH][AArch64] Use extend_arith rtx cost appropriately

2015-04-20 Thread Kyrill Tkachov
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 *