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

Kyrill Tkachov kyrylo.tkachov@arm.com
Wed Nov 12 16:45:00 GMT 2014


Hi all,

This is a much-delayed respin of the patch in response to Richards 
feedback at:
http://gcc.gnu.org/ml/gcc-patches/2014-05/msg00068.html

We now let recursion do its magic and just add the cost of the 
arithmetic operation on top.

Tested on arm-none-eabi

Ok for trunk?

2014-11-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>

      * config/arm/arm.c (arm_new_rtx_costs, case PLUS, MINUS):
      Add cost of alu.arith in simple SImode case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rtx-costs-plus-minus.patch
Type: text/x-patch
Size: 674 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20141112/d6cc7ab5/attachment.bin>


More information about the Gcc-patches mailing list