[PATCH][ARM] Handle simple SImode PLUS and MINUS operations in rtx costs

Kyrill Tkachov kyrylo.tkachov@arm.com
Wed Apr 2 12:55:00 GMT 2014


Pinging this for stage1, otherwise I'll forget about it and it'll fall through 
the cracks...

http://gcc.gnu.org/ml/gcc-patches/2014-03/msg01276.html

Thanks,
Kyrill

On 24/03/14 17:21, Kyrill Tkachov wrote:
> Hi all,
>
> I noticed that we don't handle simple reg-to-reg arithmetic operations in the
> arm rtx cost functions. We should be adding the cost of alu.arith to the costs
> of the operands. This patch does that. Since we don't have any cost tables yet
> that have a non-zero value for that field it shouldn't affect code-gen for any
> current cores.
>
> Bootstrapped and tested on arm-none-linux-gnueabihf.
>
> Ok for next stage1?
>
> Thanks,
> Kyrill
>
> 2014-03-24  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
>
>       * config/arm/arm.c (arm_new_rtx_costs): Handle reg-to-reg PLUS
>       and MINUS RTXs.




More information about the Gcc-patches mailing list