arm.c (thumb1_size_rtx_costs): Assign proper cost for shift_add/shift_sub0/shift_sub1...
authorTerry Guo <terry.guo@arm.com>
Thu, 25 Jul 2013 04:10:27 +0000 (04:10 +0000)
committerXuepeng Guo <xguo@gcc.gnu.org>
Thu, 25 Jul 2013 04:10:27 +0000 (04:10 +0000)
commit690688b3a055de125642e79d3bff8b0291d1f8cb
tree5ae1b066d744553bfbb91a51cca6c57aa1a4f172
parenta4ad093b026e5224b4bacedcee34b434e7af7ffc
arm.c (thumb1_size_rtx_costs): Assign proper cost for shift_add/shift_sub0/shift_sub1 RTXs.

gcc/ChangeLog:
2013-07-24  Terry Guo  <terry.guo@arm.com>

* config/arm/arm.c (thumb1_size_rtx_costs): Assign proper cost for
shift_add/shift_sub0/shift_sub1 RTXs.

gcc/testsuite/ChangeLog:
2013-07-24  Terry Guo  <terry.guo@arm.com>

* gcc.target/arm/thumb1-Os-mult.c: New test case.

From-SVN: r201237
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/thumb1-Os-mult.c [new file with mode: 0644]